我正在尝试做一件非常简单的事情——将一个表导入我的数据库。
mysql> dbname < libmysql.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 'dbname <
libmysql.sql' at line 1
我不明白,有什么问题。我什至试着做
-u username -h host -p dbname < libmysql.sql