MySQL Backup error logging

Source: Internet
Author: User
Tags mysql backup

Today, there is a problem, MySQL data volume backup error, recorded as follows:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/47/D1/wKioL1P_6kThejrOAAaxsonf7EI763.jpg "title=" Qq20140829104300.jpg "alt=" Wkiol1p_6kthejroaaaxsonf7ei763.jpg "/>

Error display:

Enter Password:
Mysqldump:got error:1449:the user specified as a definer (' Ljgps ' @ '% ') does not exist when using LOCK TABLES


After multiple queries, the workaround:

mysqladmin-uroot-p123456 Flush-logs;
/opt/mysql/bin/mysql-uroot-p123456


/opt/mysql/bin/mysqldump-uljgps-p Ljgps > Ljgps.sql

Add Ljgps users, do not enter the password 123456, the database will be considered too simple to expose the password is not to execute, you can:

/opt/mysql/bin/mysqldump-uljgps-p Ljgps > Ljgps.sql

Then enter the password: Enter to execute.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/47/CF/wKiom1P_60ujTpjuAAZdYlkyG5I100.jpg "title=" 9999. JPG "alt=" wkiom1p_60ujtpjuaazdylkyg5i100.jpg "/>


This article is from "Ghost" blog, please make sure to keep this source http://caizi.blog.51cto.com/5234706/1546416

MySQL Backup error logging

Related Article

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.