我无法在 MAMP 中启动 MySQL。这是日志中的错误。
[ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
但是,如果我运行mysql_upgrade
,我会得到
mysql_upgrade: command not found
谁能告诉我问题是什么?
最佳答案
尝试这个命令;
/Applications/MAMP/Library/bin/mysql_upgrade -uroot -p --force
看起来 MAMP bin 目录的路径不在您的 PATH 中。
关于MySQL 无法在 MAMP 中启动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42601959/