0
我無法在MAMP中啓動MySQL。這是日誌中的錯誤。MySQL無法在MAMP中啓動
[ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
但是,如果我跑mysql_upgrade
我得到
mysql_upgrade: command not found
誰能告訴我是什麼問題?
我無法在MAMP中啓動MySQL。這是日誌中的錯誤。MySQL無法在MAMP中啓動
[ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
但是,如果我跑mysql_upgrade
我得到
mysql_upgrade: command not found
誰能告訴我是什麼問題?
試試這個命令;
/應用/甲基苯丙胺/庫/斌/ mysql_upgrade -uroot -p --force
它看起來像路徑MAMP bin目錄不在您的路徑。
謝謝,但是這返回'尋找'mysql'爲:/ Applications/MAMP/Library/bin/mysql 尋找'mysqlcheck'爲:/ Applications/MAMP/Library/bin/mysqlcheck 錯誤:服務器版本!可能是由於未經授權的訪問。 致命錯誤:升級失敗# – user2753924
嘗試將innodb_force_recovery = 1添加到您的my.cnf文件中,然後重新啓動MySQL。如果它啓動正常,請刪除此行,以便在下次啓動/重新啓動時不嘗試恢復。 – thatsaru