"log_bin.index not found" 启动报错解决
2017-04-13 00:00
113 查看
my.cnf 中设置了:
但是启动后,总是报告如下错误:
自己 touch 一个文件出来,不行。
修改文件 log_bin.index 的权限为 777,也不行。
看来还是权限的问题,突然想起来 datadir 权限设置可能不对。
果然,没有 X 权限,于是把该目录加上 X 权限:
再次启动,一切ok。
--------------------------------------分割线--------------------------------------
知数堂 (http://zhishuedu.com)培训是由资深MySQL专家叶金荣、吴炳锡联合推出的专业优质培训品牌,主要有MySQL DBA实战优化和Python运维开发课程,是业内最有良心、最有品质的培训课程。
本文出自 “老叶茶馆” 博客,请务必保留此出处http://imysql.blog.51cto.com/1540006/1879705
log-bin=log_bin log-bin-index=log_bin.index
但是启动后,总是报告如下错误:
mysqld: File './log_bin.index' not found (Errcode: 13) 070428 14:35:59 [ERROR] Aborting 070428 14:35:59 [Note] mysqld: Shutdown complete
自己 touch 一个文件出来,不行。
修改文件 log_bin.index 的权限为 777,也不行。
[root@localhost]#/usr/local/mysql/bin/perror 13 System error: 13 = Permission denied
看来还是权限的问题,突然想起来 datadir 权限设置可能不对。
[root@localhost]#ls -l /usr/local/mysql | grep data drw------- 3 nobody nobody 4096 Apr 29 11:17 data
果然,没有 X 权限,于是把该目录加上 X 权限:
[root@localhost]#chmod 700 /usr/local/mysql/data
再次启动,一切ok。
--------------------------------------分割线--------------------------------------
知数堂 (http://zhishuedu.com)培训是由资深MySQL专家叶金荣、吴炳锡联合推出的专业优质培训品牌,主要有MySQL DBA实战优化和Python运维开发课程,是业内最有良心、最有品质的培训课程。
本文出自 “老叶茶馆” 博客,请务必保留此出处http://imysql.blog.51cto.com/1540006/1879705
相关文章推荐
- "log_bin.index not found" 启动报错解决
- "log_bin.index not found" 启动报错解决
- "log_bin.index not found" 启动报错解决
- 启动MyEclipse出现"Source not found for JdbcOdbcDriver.finalize() line: not available"解决
- 在虚拟机中启动系统,出现"Operating System not found"--解决方法
- MySQL 启动报错:File ./mysql-bin.index not found (Errcode: 13)
- "Format" did not complete normally. Please see the log for more information. 解决
- Rose启动提示"java.lang.ClassNotFoundException"的解决
- Eclipse 报 "The builder launch configuration could not be found" 错误的解决办法
- Eclipse 报 "The builder launch configuration could not be found" 错误的解决办法
- Eclipse 报 "The builder launch configuration could not be found" 错误的解决办法
- Unity3D使用Animator报:"Animator.GotoState: State could not be found invalid layer index"错误解决方
- Rational Rose破解版 关于启动和关闭时都弹出"java.lang.ClassNotFoundException"的解决办法
- Eclipse 报 "The builder launch configuration could not be found" 错误的解决办法
- 升级到Ubuntu 14.04 报 "symbol 'grub_term_highlight_color' not found"错误的解决方法
- Eclipse 报 "The builder launch configuration could not be found" 错误的解决办法
- MySQL 启动报错:File ./mysql-bin.index not found (Errcode: 13)
- "library not found for - "解决办法
- "The target '__Page' for the callback could not be found or did not implement ICallbackEventHandler."的解决办法
- MySQL 启动报错:File ./mysql-bin.index not found (Errcode: 13)