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

前端 未结 13 1718
南笙
南笙 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:29

    During replication configuration in "my.cnf" file needs to mention

    server-id=1 log_bin=/var/log/mysql/mysql-bin.log

    you can make your own directory and give permission. create directory "mysql" in /var/log/

    chmod 777 mysql

    this is applicable with MySQL version 5.7

    0 讨论(0)
提交回复
热议问题