During mysqldump export: Couldn 'texecute 'SETOPTIONSQL _ QUOTE_SHOW_CR

Source: Internet
Author: User
Tags socket error mysql backup
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

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.