我已經嘗試過下面的查詢,但我打錯了。如何使用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