Rumah  >  Soal Jawab  >  teks badan

mysql不能启动

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中文网PHP中文网2763 hari yang lalu541

membalas semua(3)saya akan balas

  • PHP中文网

    PHP中文网2017-04-17 15:40:30

    检查mysql 服务是否开启,'/alidata/server/mysql/bin/mysqld.exe` 可能是这里文件损坏,实在不行,重装一次吧

    balas
    0
  • 巴扎黑

    巴扎黑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...

    balas
    0
  • 巴扎黑

    巴扎黑2017-04-17 15:40:30

     Permission denied

    是这个吧。看看权限呢

    balas
    0
  • Batalbalas