Solution for ‘./mysql-bin.index’ not found (Errcode: 13)

  
 

View error log 150326 10:44:49 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data/usr/local/mysql/bin/mysqld: File './mysql-bin.index' not found (Errcode: 13)150326 10:44:50 [ERROR] Aborting150326 10:44:50 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete

Prompt./mysql-bin.index Can not find (because mysql opened the bin log function), to the database root directory to view the file exists, may be a file permissions problem, view the database root directory permissions are 700, the owner and user groups are root, possible It was the permission to modify the folder when the database was last transferred. Solution: chown -R mysql /usr/local/mysql && chown -R mysql /usr/local/mysql

Restart mysql [OK]

Copyright © Windows knowledge All Rights Reserved