MySQL Says: Cannot connect: invalid settings(MySQL 说:无法连接:无效的设置)
问题描述
我们在本地网络的共享环境中使用 XAMPP.所有项目都有默认的 mysql 用户名和密码.最近想修改一个项目的用户名和密码.现在我无法访问 phpmyadmin.它只显示以下消息:
We are using XAMPP in a shared environment in our local network. All the projects had the default mysql username and password. Recently I tried to change the user name and password of a project. And now I am not being able to access phpmyadmin. It just displays the following message:
phpMyAdmin 尝试连接 MySQL 服务器,服务器拒绝连接.您应该检查配置中的主机、用户名和密码,并确保它们与 MySQL 服务器管理员提供的信息相对应.
现在没有人能够访问phpmyadmin.我该如何解决这个问题?
Now no one is able to access the phpmyadmin. How can I solve this?
推荐答案
Error:-Connection for controluser as defined in your configuration failed.
Error:-Connection for controluser as defined in your configuration failed.
解决方案:-因为在你的 ubuntu 系统中有两个 mysql 服务器在运行所以混淆解决这个问题首先停止 mysql servert
solution:- because of in your ubuntu system two mysql server running so get confusion solve this problem stop mysql servert first
- 打开终端
输入命令:
- open terminal
type command:
sudo /etc/init.d/mysql stop
输入命令:
type command:
sudo /opt/lampp/lampp restart
这篇关于MySQL 说:无法连接:无效的设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:MySQL 说:无法连接:无效的设置
基础教程推荐
- while 在触发器内循环以遍历 sql 中表的所有列 2022-01-01
- 如何在 CakePHP 3 中实现 INSERT ON DUPLICATE KEY UPDATE aka upsert? 2021-01-01
- 使用 VBS 和注册表来确定安装了哪个版本和 32 位 2021-01-01
- 带有WHERE子句的LAG()函数 2022-01-01
- MySQL根据从其他列分组的值,对两列之间的值进行求和 2022-01-01
- ORA-01830:日期格式图片在转换整个输入字符串之前结束/选择日期查询的总和 2021-01-01
- 从字符串 TSQL 中获取数字 2021-01-01
- CHECKSUM 和 CHECKSUM_AGG:算法是什么? 2021-01-01
- MySQL 5.7参照时间戳生成日期列 2022-01-01
- 带更新的 sqlite CTE 2022-01-01
