When exporting mysqldump: Couldn
When exporting mysqldump: Couldn
Homepage → Database Technology
Background:
Read News
During mysqldump export: Couldn't execute 'set OPTION SQL _QUOTE_SHOW_CREATE = 1 ':
[Date: 2014-10-27] Source: Linux community Author: Linux [Font:]
During mysqldump export: Couldn't execute 'set OPTION SQL _QUOTE_SHOW_CREATE = 1 ':
The following error is returned when exporting data using mysqldump:
[Root @ localhost ~] # Mysqldump-uroot-p-d-R test> test. SQL
Enter password:
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)
It is found that the mysqldump version is incorrect. the mysql server running is 5.6.13. mysql rpm package 5.0.9 is automatically installed when the dbd driver is installed using yum:
[Root @ localhost ~] # Mysqldump -- version
Mysqldump Ver 10.11 Distrib 5.0.95, for RedHat-linux-gnu (x86_64)
[Root @ localhost ~] # Which mysqldump
/Usr/bin/mysqldump
Use mysqldump of version 5.6 to overwrite or specify the directory for running:
[Root @ localhost ~] # Cp/MysqlData/base/mysql/bin/mysqldump/usr/bin/mysqldump
Cp: overwrite "/usr/bin/mysqldump "? Y
Using mysqldump in Linux to back up a MySQL database as an SQL File
Use mysqldump in Linux to regularly back up MySQL Databases
Mysqldump missing-q Parameter causes MySQL to be killed by oom
Mysqldump and LVM logical volume Snapshot
MySQL backup solution --> (using mysqldump and binlog binary logs)
[MySQL] Using mysqldump for text backup
0
2002 socket error reported during mysqldump Export
ORA-28001: the password has expired Solution
Related information: mysqldump
Image Information
View All comments in this article (0)
Comments
Latest Information
Popular this week
Introduction to Linux community-advertisement service-website map-help Info-contact us
The articles published on this site (LinuxIDC) do not mean that they agree with the statement or description. They only provide more information and do not constitute any suggestions.
Copyright©2006-2014 Linux community All rights reserved Zhejiang ICP backup No. 06018118