找不到mariadb-bin.index

时间:2017-06-20 13:22:37

标签: mysql mariadb

我无法为mysql加星星因为以下错误

Jun 20 13:11:08 c268743fb9f9 mysqld_safe[17699]: 170620 13:11:08 [Note] /usr/sbin/mysqld (mysqld 5.5.56-MariaDB-1~trusty) starting as process 17698 ...
Jun 20 13:11:08 c268743fb9f9 mysqld_safe[17699]: 170620 13:11:08 [ERROR] mysqld: File '/var/log/mysql/mariadb-bin.index' not found (Errcode: 13)
Jun 20 13:11:08 c268743fb9f9 mysqld_safe[17699]: 170620 13:11:08 [ERROR] Aborting
Jun 20 13:11:08 c268743fb9f9 mysqld_safe[17699]: 
Jun 20 13:11:08 c268743fb9f9 mysqld_safe[17699]: 170620 13:11:08 [Note] /usr/sbin/mysqld: Shutdown complete

然而,文件在那里

root@c268743fb9f9:~# ls -la /var/log/mysql/mariadb-bin.index
-rw-rw---- 1 mysql adm 170 Mar 10  2015 /var/log/mysql/mariadb-bin.index

更改权限,仍然相同。有什么建议吗?

1 个答案:

答案 0 :(得分:0)

文件的权限看起来不错。其他要检查的事项:

  • 您是否以root身份启动mysqld?
  • 检查导致该文件的每个目录的DisplayConversationsController