12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
ADADADADAD
建站问答 时间:2024-12-01 19:04:20
作者:文/会员上传
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
12-09
问题描述:服务器中使用service mysqld restart命重启MySQL失败。报错信息如下:Fatal error: Please read “Security” section of the manual to find out how to run mysqld
以下为本文的正文内容,内容仅供参考!本站为公益性网站,复制本文以及下载DOC文档全部免费。
问题描述:服务器中使用service mysqld restart命重启MySQL失败。
报错信息如下:
Fatal error: Please read “Security” section of the manual to find out how to run mysqld as root
错误日志输出如下:
mysqld: File './binlog.index' not found (OS errno 13 - Permission denied)
解决方法:
1.根据日志提示查找到binlog.index文件;
2.binlog.index文件查找到后,使用记事本打开;
3.binlog.index文件打开后,将binlog.index拥有者设置成mysql;
chown mysql:mysql binlog.index
4.binlog.index拥有者设置好后,再次重启MySQL即可。
service mysqld restart
11-20
11-19
11-20
11-20
11-20
11-19
11-20
11-20
11-19
11-20
11-19
11-19
11-19
11-19
11-19
11-19