简体   繁体   中英

Migrating local database to Azure ClearDb through mySQL Workbench

I have been trying this but no success, i get to this stage and no further. 工作台截图

If you need to migrate from local database to azure cleardb, simply use the mysqldump utility in conjunction with the mysql command line client. For example:

mysqldump --single-transaction -u (old_database_username) -p -h (old_database_host) (database_name) | mysql -h (cleardb_host) -u (cleardb_user) -p -D (cleardb_database)

But if you insist on using MySQL Workbench then this might be of help - http://nullsession.com/2014/02/04/downgrading-you-cleardb-mysql-database-in-azure/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM