MySql导出时报错

在使用mysql自带的导出工具,报如下错误

WARNING

 

mysqldump.exe is version 5.5.16, but the MySQL Server to be dumped has version 5.6.13.

 

Because the version of mysqldump is older than the server, some features may not be backed up properly.

 

It is recommended you upgrade your local MySQL client programs, including mysqldump to a version equal to or newer than that of the target server.

 

The path to the dump tool must then be set in Preferences -> Administrator -> Path to mysqldump Tool:

 

11:22:10 Dumping db-bug (all tables)

 

Running: mysqldump.exe --defaults-extra-file="c:\users\admini~1\appdata\local\temp\tmpilpxbj.cnf"  --user=root --max_allowed_packet=1G --host=localhost --port=3306 --default-character-set=utf8 --single-transaction=TRUE "db-bug"

 

mysqldump: Couldn't execute 'SET OPTION SQL_QUOTE_SHOW_CREATE=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 'OPTION SQL_QUOTE_SHOW_CREATE=1' at line 1 (1064)

 

通过设置Edit ->Preferences -> Administrator -> Path to mysqldump Tool为自己安装的mysql路径D:\Program Files\MySQL\MySQL Server 5.6\bin\mysqldump.exe,此问题得到解决

 

 

你可能感兴趣的:(mysql)