雨燕 - CnSwift

敏捷开发- agile development

MAMP:Checking the MySQL databases failed.

Checking the MySQL databases failed.
Error message:

/Applications/MAMP/Library/bin/mysqlcheck: Got error: 1045: Access denied for user ‘root’@’localhost’ (using password: YES) when trying to connect

解决方案:

打开文件:

Application/MAMP/bin/checkMysql.sh

1
2
3
#!/bin/sh

/Applications/MAMP/Library/bin/mysqlcheck --all-databases --check --check-upgrade -u root -p root --socket=/Applications/MAMP/tmp/mysql/mysql.sock

-p root中的root修改为你现在使用的密码。

感谢赞赏.

Welcome to my other publishing channels