Mamp无法启动mysql

问题描述 投票:1回答:1

我刚刚在我的Windows 10上完成了全新的mamp安装,并且它没有正确启动MySQL。

enter image description here enter image description here

这是mysql日志:

2019-01-09T14:56:59.354340Z 0 [Note] --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled
2019-01-09T14:56:59.355024Z 0 [Note] C:\MAMP\\bin\mysql\bin\mysqld.exe (mysqld 5.7.24-log) starting as process 27324 ...

如你所见,我没有问题(我认为......)

当我尝试使用phpmyadmin时这是我的php日志消息:

[09-Jan-2019 14:57:06 UTC] PHP Warning:  mysqli_connect(): (HY000/2002): No connection could be made because the target machine actively refused it. in Command line code on line 1
[09-Jan-2019 14:57:06 UTC] PHP Warning:  mysqli_query() expects parameter 1 to be mysqli, boolean given in Command line code on line 1
[09-Jan-2019 14:57:06 UTC] PHP Warning:  mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, null given in Command line code on line 1
[09-Jan-2019 14:57:06 UTC] PHP Warning:  mysqli_close() expects parameter 1 to be mysqli, boolean given in Command line code on line 1

它是默认的登录名和密码(root和root)我用新端口(3307)检查它是一样的

有人知道那可以形成的地方吗?

我正在使用带有apache的php 7.2.10和MySQL 5.7.24

谢谢您的帮助

PS:我删除了ib_logfile0 ib_logfile1和ibdata1

mamp
1个回答
1
投票

删除:mysql-bin.index它应该工作

© www.soinside.com 2019 - 2024. All rights reserved.