将“。\ mysql-bin.index_crash_safe”重命名为“。\ mysql-bin.index”时发生MySQL错误(错误代码:13-权限被拒绝)

时间:2018-07-16 14:37:55

标签: php mysql database

.err中的登录消息:

MySQL: Error on rename of '.\mysql-bin.index_crash_safe' to '.\mysql-bin.index' (Errcode: 13 - Permission denied)
2018-07-16 22:25:59 17908 [ERROR] MYSQL_BIN_LOG::open_index_file failed to move crash_safe_index_file to index file.
2018-07-16 22:25:59 17908 [ERROR] Aborting
2018-07-16 22:25:59 17908 [Note] Binlog end
2018-07-16 22:25:59 17908 [Note] MySQL: Shutdown complete

这很奇怪,我停止了mysql,什么也不做,然后启动,但出现了这些错误。 mysql-bin.index为空,mysql-bin.index_crash_safe具有以下内容:

.\mysql-bin.000092
.\mysql-bin.000093
.\mysql-bin.000094
.\mysql-bin.000095
.\mysql-bin.000096
数据目录中的

个文件: files in data directory

0 个答案:

没有答案