try to change bin log directory: mysql-bin.index not found (Errcode: 13)

前端 未结 13 1715
南笙
南笙 2021-01-30 22:53

MySQL 5.1.54 Ubuntu 11.04

I\'am try to change bin log directory in my.conf as:

[mysqld]
log_bin=/home/developer/logs/mysql/mysql-bin.log
<
13条回答
  •  有刺的猬
    2021-01-30 23:06

    You need to give user permissions to the directory as follows:

    chown -R mysql:mysql /home/developer/logs/mysql/
    

提交回复
热议问题