首页 > 解决方案 > MySQL 不想在 XAMPP 中启动并在浏览器中生成无效设置消息

问题描述

我根本没有更改任何与 apache、mysql 或 xampp 应用程序相关的设置,但是从昨晚(当我在我的网站上定期使用数据库工作时)以来,今天早上 mysql 只是不想启动。当我单击 xampp 中的 MySql 按钮时,它变为绿色但仅在第二个时,并在地址 127.0.0.1/phpmyadmin 的浏览器中生成此错误消息

MySQL said: Documentation

Cannot connect: invalid settings.
 mysqli::real_connect(): (HY000/2002): No connection could be made because the target machine actively refused it.
 Connection for controluser as defined in your configuration failed.
 mysqli::real_connect(): (HY000/2002): No connection could be made because the target machine actively refused it.
 phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.

标签: mysqlxampp

解决方案


推荐阅读