手賤不小心在phpmyadmin介面把root權限刪掉,然後mamp pro重灌還是一樣的問題,是因為mamp pro沒有刪乾淨,文件還存在電腦裡,執行以下步驟重灌mamp pro

  1. Delete the appsolute directory from /Library/Application Support , which contains configuration files that are created upon MAMP Pro installation
  2. Delete the file hosts.mamp.bak in /etc, which is the MAMP hosts backup file
  3. Delete the MAMP directory from /Applications/MAMP
  4. Open the MAMP Pro Uninstaller, check all five options, and click to uninstall
  5. 重新安裝mamp pro

安裝完成後可以進入phpmyadmin了,但是apache打不開,說:8888 port已被佔用,這時候嘗試進入活動監視器並蒐索MysqldHttpd並結束它們的所有進程。然後重新啟動Mamp。

參考文章:https://stackoverflow.com/questions/11855247/mamp-pro-restore-root-user-uninstall

參考文章:https://stackoverflow.com/questions/26124504/mamp-pro-apache-couldnt-be-started-because-the-port-was-already-in-use/26640841

0
0 回復

發表評論

想要加入討論嗎?
請盡情發表您的想法!

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。