首頁  >  問答  >  主體

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 天前542

全部回覆(3)我來回復

  • PHP中文网

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

    檢查mysql 服務是否開啟,'/alidata/server/mysql/bin/mysqld.exe` 可能是這裡檔案損壞,實在不行,重裝一次吧

    回覆
    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...

    回覆
    0
  • 巴扎黑

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

     Permission denied

    是這個吧。看看權限呢

    回覆
    0
  • 取消回覆