mysql - 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.
解决方案
推荐阅读
- c# - AutoMapper 自定义异步解析器
- php - x 时间前发布的 PHP 返回变量等于 0
- asp.net - 如何将 CSS 文件添加到 ASPX (Sharepoint Online)
- reactjs - 如何在不退出的情况下更新会话值?
- laravel - 在 Voyager 中禁用删除数据关系
- python - 如何在谷歌 colab 上安装 sensplit?
- javascript - 页面重新加载时如何使用useEffect deps?
- javascript - 数组对象不可迭代
- javascript - Bot Framework:如何将用户确认步骤添加到 CancelAndHelpDialog
- c# - 是否可以总结 SQL Server 中的时间字段?