手賤不小心在phpmyadmin
介面把root
權限刪掉,然後mamp pro
重灌還是一樣的問題,是因為mamp pro
沒有刪乾淨,文件還存在電腦裡,執行以下步驟重灌mamp pro
。
- Delete the
appsolute
directory from/Library/Application Support
, which contains configuration files that are created upon MAMP Pro installation - Delete the file
hosts.mamp.bak
in/etc
, which is the MAMP hosts backup file - Delete the MAMP directory from
/Applications/MAMP
- Open the MAMP Pro Uninstaller, check all five options, and click to uninstall
- 重新安裝
mamp pro
安裝完成後可以進入
phpmyadmin
了,但是apache
打不開,說:8888 port
已被佔用,這時候嘗試進入活動監視器並蒐索Mysqld
和Httpd
並結束它們的所有進程。然後重新啟動Mamp
。
參考文章:https://stackoverflow.com/questions/11855247/mamp-pro-restore-root-user-uninstall