mamp的mysql突然无法启动
Can’t connect to MySQL server on ‘127.0.0.1’ (61)
mysql56 pwd
/Applications/MAMP/db/mysql56
➜ mysql56 ls
auto.cnf ib_logfile1 msg pink test
bick dedecmsv57utf8sp2 ibdata1 mysql
lvcheng mysql_upgrade_info
ib_logfile0 performance_schema school
➜ mysql56 mkdir datas
➜ mysql56 mv ib_logfile0 ./datas
➜ mysql56 mv ib_logfile1 ./datas
➜ mysql56 rm -rf datas
➜ mysql56
处理方法:
删除/Applications/MAMP/db/mysql56 下的ib_logfile0和 ib_logfile1 文件。