《MysqL应用MysqL-bin权限问题导致MysqL无法启动怎么办》要点:
本文介绍了MysqL应用MysqL-bin权限问题导致MysqL无法启动怎么办,希望对您有用。如果有疑问,可以联系我们。
启动MysqL报错误,错误信息:
MysqL实例
131227 14:24:51 MysqLd_safe Starting MysqLd daemon with databases from /var/lib/MysqL
131227 14:24:51 [Warning] Changed limits: max_open_files: 1024 max_connections: 886 table_cache: 64
131227 14:24:51 [Note] Plugin 'FEDERATED' is Disabled.
131227 14:24:51 InnoDB: Initializing buffer pool,size = 256.0M
131227 14:24:52 InnoDB: Completed initialization of buffer pool
131227 14:24:52 InnoDB: Started; log sequence number 0 1724594339
/usr/sbin/MysqLd: file './MysqL-bin.000002' not found (Errcode: 13)
131227 14:24:52 [ERROR] Failed to open log (file './MysqL-bin.000002',errno 13)
131227 14:24:52 [ERROR] Could not open log file
131227 14:24:52 [ERROR] Can't init tc log
131227 14:24:52 [ERROR] Aborting
错误提示找不到MysqL-bin.000002文件,但检查该文件是存在的:
MysqL实例
MysqL-bin.000002
怀疑可能是权限问题,于时查看:
MysqL实例
-rw-rw---- 1 root root 733525 12-27 14:10 MysqL-bin.000002
文件属主变成了root,将该文件修改为MysqL:
MysqL实例
MysqL无法启动的问题顺利解决了.MysqL实例
总结以上是内存溢出为你收集整理的Mysql应用mysql-bin权限问题导致mysql无法启动怎么办全部内容,希望文章能够帮你解决Mysql应用mysql-bin权限问题导致mysql无法启动怎么办所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)