我一直在使用MAMP,但在错误地更改root权限后遇到了重大问题。我无法解决这些问题,并选择全新安装MAMP并移动db文件夹,我读过这些文件夹是可能的。在这样做的过程中,我有许多具有MIA表的DB。
SHOW GRANTS FOR 'root'@'localhost'
response:
GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY PASSWORD '*81F5E21E35407D884A6CD4A731AEBFB6AF209E1B' WITH GRANT OPTION
GRANT PROXY ON ''@'' TO 'root'@'localhost' WITH GRANT OPTION
我真的被困在这里因此而失去了一天的工作。
更新: 当我运行mysql_update命令时,我得到以下响应。
→ /Applications/MAMP/Library/bin/mysql_upgrade -p
Enter password:
Looking for 'mysql' as: /Applications/MAMP/Library/bin/mysql
Looking for 'mysqlcheck' as: /Applications/MAMP/Library/bin/mysqlcheck
Running 'mysqlcheck with default connection arguments
Running 'mysqlcheck with default connection arguments
ipbnew.ipb_admin_login_logs
Error : Table 'ipbnew.ipb_admin_login_logs' doesn't exist
status : Operation failed
ipbnew.ipb_admin_logs
Error : Table 'ipbnew.ipb_admin_logs' doesn't exist
status : Operation failed