How to fix: MySQL bin log index not found (Errcode: 13)
If you get for example
/usr/sbin/mysqld: File '/var/log/mysql/mysql-bin.index' not found (Errcode: 13)
after for example you change your bin log files location.
You first need to make sure your new bin log file has correct permission setting, owned by mysql:mysql.
You may also need to disable SELinux ( CentOS) or apparmor ( Ubuntu) to make it work.
See also:
How to check / change SELinux in linux
/usr/sbin/mysqld: File '/var/log/mysql/mysql-bin.index' not found (Errcode: 13)
after for example you change your bin log files location.
You first need to make sure your new bin log file has correct permission setting, owned by mysql:mysql.
You may also need to disable SELinux ( CentOS) or apparmor ( Ubuntu) to make it work.
See also:
How to check / change SELinux in linux
Comments
Post a Comment