Mac 下apache php mysql phpmyadmin

Mac 系统已经带有apache和PHP, 不用安装,只要配置。mysql和phpmyadmin要安装。

全程参考:http://jingyan.baidu.com/article/0aa22375b553a488cc0d64b5.html

到后来出现phpmyadmin登录时出现密码过期的提醒,登不进去。

在Terminal输入:

  1. Enter this in terminal (in /usr/local/mysql/bin/) mysqladmin -u root -p password
  2. Enter your password
  3. Enter New password
  4. Done! I could then login from phpmyadmin too!

参考:http://stackoverflow.com/questions/35995792/cannot-login-to-phpmyadmin-error-1862-your-password-has-expired

打赏