Mysqldump:Error:Binlogging on server not active

Source: Internet
Author: User

When learning to use mysqldump, the following two errors were encountered when using mysqldump backup:

[Email protected] backup]#./mysql_dump_back.sh

Warning:using a password on the command line interface can is insecure.

Mysqldump:Error:Binlogging on server not active

As shown above, one is because I configured in the mysql_dump_back.sh login database account password, mysqldump hint unsafe, another error, after searching for some information, only need to open log_bin inside the/ETC/MY.CNF ( Database operation log), and then restart MySQL to resolve the issue. There are a lot of this kind of information on the Internet, since the encounter is also recorded.

# Remove Leading # to turn on a very important data integrity option:logging
# Changes to the binary log between backups.
Log_bin=mysql-bin

Mysqldump:Error:Binlogging on server not active

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.