简体   繁体   English

MAMP 4.1.1上的MySQL服务器无法在macOS Sierra 10.12.5中启动

[英]Mysql server on MAMP 4.1.1 won't start in macOS Sierra 10.12.5

My MAMP 4.1.1 MySQL server will not start on macOS Sierra 10.12.5. 我的MAMP 4.1.1 MySQL服务器无法在macOS Sierra 10.12.5上启动。

I have uninstalled MAMP and reinstalled v4.1.1 我已经卸载了MAMP并重新安装了v4.1.1

There are NO files in the htdocs folder and NO databases in the mysql56 folder. htdocs文件夹中没有文件,mysql56文件夹中没有数据库。

The only things in there are the folders: 文件夹中仅有的东西:

performance_schema , mysql , and the file mysql_upgrade_info performance_schemamysql和文件mysql_upgrade_info

I've tried the following: 我尝试了以下方法:

• restart MAMP as well as computer shut down and restart • set ports to default •重新启动MAMP以及计算机关闭并重新启动•将端口设置为默认值

• terminal to kill all sql processes: •终端杀死所有sql进程:

sudo killall -9 mysqld

response is: No matching processes were found 响应是:未No matching processes were found

• chmod the folder: •chmod文件夹:

sudo chown -R mysql:mysql /usr/local/bin/mysql

After many hours of searching around for solutions I finally uninstalled MAMP 4.1.1 and installed MAMP 3.5.2 and it works. 经过数小时的搜索解决方案,我终于卸载了MAMP 4.1.1并安装了MAMP 3.5.2,它可以正常工作。

If someone knows why MAMP 4.1.1 MySQL server won't start on Sierra 10.12.5 let me know. 如果有人知道为什么MAMP 4.1.1 MySQL服务器无法在Sierra 10.12.5上启动,请告诉我。

我不想这么说,但是您将需要删除程序并下载新版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM