问题描述:服务器中使用service Mysqld restart命重启mysql失败。报错信息如下:Fatal error: Please read “Security” section of the manual to find out
问题描述:服务器中使用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)
解决方法:
根据日志提示查找到binlog.index文件;
binlog.index文件查找到后,使用记事本打开;
binlog.index文件打开后,将binlog.index拥有者设置成mysql;
chown mysql:mysql binlog.index
binlog.index拥有者设置好后,再次重启MySQL即可。
service mysqld restart
--结束END--
本文标题: 服务器重启mysql失败怎么办
本文链接: https://www.lsjlt.com/news/112968.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-04-30
2024-04-30
2024-04-29
2024-04-29
2024-04-29
2024-04-29
2024-04-29
2024-04-29
2024-04-29
2024-04-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0