ERROR 1064 (42000) at line 1:
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 ‘???
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */’ at line 1
3、重新建MySQL库,然后导入备份的sql语句,导入命令如下:
mysql -u -p database < dumpdata.sql
4、如果是以前导出的文件,导入的时候遇到错误:
Got a packet bigger than ‘max_allowed_packet’ bytes or
ERROR 1153 (08S01) at line 616: Got a packet bigger than
‘max_allowed_packet’ by tes