log如下:
160921 12:33:46 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
2016-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 end
2016-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
请高手赐教,非常感谢。
PHP中文网2017-04-17 15:40:30
检查mysql 服务是否开启,'/alidata/server/mysql/bin/mysqld.exe` 可能是这里文件损坏,实在不行,重装一次吧
巴扎黑2017-04-17 15:40:30
my.cnf添加
[mysqld]
innodb=OFF
ignore-builtin-innodb
skip-innodb
default-storage-engine=myisam
default-tmp-storage-engine=myisam
资料:http://stackoverflow.com/ques...