嗨我想备份我的 MySql 数据库,我写了这个命令:
mysqldump -u root -ppassword -h localhost --all-databases > backup.sql;
它给出了这个错误:
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 'mysql
dump -u root -pmanager -h localhost --all-databases > backup.sql' at line 1
为什么?应该怎么做?谢谢...