mysql不能启动
问题描述
log如下: 160921 12:33:46 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data2016-09-21 12:33:46 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details)./alidata/server/mysql/bin/mysqld: File ’./mysql-bin.index’ not found (Errcode: 13 - Permission denied)2016-09-21 12:33:46 8017 [ERROR] Aborting
2016-09-21 12:33:46 8017 [Note] Binlog end2016-09-21 12:33:46 8017 [Note] /alidata/server/mysql/bin/mysqld: Shutdown complete
160921 12:33:46 mysqld_safe mysqld from pid file /usr/local/mysql/data/iZ28bd1ynmoZ.pid ended请高手赐教,非常感谢。
问题解答
回答1:检查mysql 服务是否开启,’/alidata/server/mysql/bin/mysqld.exe` 可能是这里文件损坏,实在不行,重装一次吧
回答2:my.cnf添加
[mysqld] innodb=OFF ignore-builtin-innodb skip-innodbdefault-storage-engine=myisam default-tmp-storage-engine=myisam
资料:http://stackoverflow.com/ques...
回答3:Permission denied
是这个吧。看看权限呢
相关文章:
1. python 中对redis 操作采用装饰器进行处理,怎么做2. Python3安装selenium后下载chormdriver出现问题,大家是什么解决的3. windows docker-machine port4. javascript - 一个字符串转换成数字,例子就是a="2,322.222",b=’1,211.21’,如何在angualr中执行相减5. mysql 存储过程6. 看不懂你这一步的操作7. python - flask_Bootstrap的WTF的调用疑问8. 微信chooseImage接口部分机型选择图片后莫名其妙的跳转其他页面9. javascript - 回调函数和闭包的关系10. javascript - H5 video标签可以设置亮度吗?