我已经尝试过下面的查询,但我打错了。如何使用mysql将一个数据库转储到另一个数据库?
mysql> mysqldump test |mysql test1;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysqldump test |mysql test1' at line 1
mysql> mysqldump test |mysql test1
-> ;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysqldump test |mysql test1' at line 1
mysql>
你必须这样做 – Jens
必须使用命令提示符为MySQL控制台之外。 – Pirate
没有控制台我怎么能做到这一点 – Internship