MySQL configuration file specifies the Log-error configuration item, starting an error problem

Source: Internet
Author: User
The mysqld configuration file my.cnf An [mysqld_safe] entry that was specified within the configuration block log-error , causing the mysqld service to start an error because the log file could not be found.

service mysql restart Shutting down MySQL..                                      [  OK  ]Starting MySQL.180306 16:26:49 mysqld_safe error: log-error set to ‘/var/lib/mysql/mysql.log‘, however file don‘t exists. Create writable for user ‘mysql‘.The server quit without updating PID file (/var/lib/mysql//[FAILED]caldomain.pid).

This problem is a small bug for MySQL.
The temporary processing method is to create a log-error specified empty file directly, and give the appropriate owner, group permissions.
Problem page: https://bugs.mysql.com/bug.php?id=84427
The issue has been fixed in the release 5.5.55, 5.6.36, 5.7.18, 8.0.1 .

Later, you can fix the problem by upgrading the version.

MySQL configuration file specifies the Log-error configuration item, starting an error problem

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.