method to resolve MySQL prompt './mysql-bin.index ' not Found (errcode:13)

Source: Internet
Author: User


View error Log

150326 10:44:49 Mysqld_safe starting mysqld daemon with databases From/usr/local/mysql/data
Mysqld:file './mysql-bin.index ' not Found (errcode:13)
150326 10:44:50 [ERROR] aborting 150326 10:44:50
[note]/ Usr/local/mysql/bin/mysqld:shutdown Complete

Hint./ Mysql-bin.index cannot be found (since MySQL has the bin log enabled), to the database root to see the file exists, may be a problem with file permissions, view the database root permissions are 700, the owner and user groups are root, may be the last time the database was transferred accidentally modified the folder Permissions.

Workaround:

Chown-r mysql/usr/local/mysql && chown-r mysql/usr/local/mysql

Restart MySQL [OK]

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.