这是我使用的命令:
mysql> mysql -u root -p -h HOST sample < mysqldump.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 -u root -p -h HOST sample < mysqldump.sql' at line 1
希望你能帮助我吗?