摘要:
导出:mysqldump -h hostname -u username -p password databasename (tablename) > filename如从主机192.168.0.1(root/root)导出数据库Test到文件abc.sqlmysqldump -h 192.168.0.1 -u root -proot Test> abc.sql如果导单表,可以进一步指定表名,如导表pockymysqldump -h192.168.0.1 -u root -prootTestpocky>abc.sql导入:mysql -h hostname -u userna 阅读全文