phpMyAdmin - can#39;t connect - invalid setings - ever since I added a root password - locked out(phpMyAdmin - 无法连接 - 无效设置 - 自从我添加了 root 密码 - 被锁定)
问题描述
我运行 XAMPP,几天前,我通过 phpmyadmin 为 root 密码设置了密码从那一刻起我就无法访问 phpMyAdmin
我关注了
进入 XAMPP 安装文件夹内的 phpMyAdmin 目录.将有一个名为 config.inc.php 的文件.在该文件中,找到这一行:
$cfg['Servers'][$i]['password'] = '';
你必须确保这个字段有你的 mysql root 密码(你设置的那个).
I run XAMPP, a few days back i had set up a password for the root password through phpmyadmin I am not able to access phpMyAdmin ever since that moment
I followed help on this link but everything seems fine there (in config.inc.php). I even tried unistalling xampp fully, restarting windows and then reinstalling xampp, but still pointing to localhost/phpmyadmin I get the following error
MySQL said:
Cannot connect: invalid settings.
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.
I Also tried to reset root password through mysqld.bat as given on mysql's website help but to no avail
Please Help! Here's a screenshot describing the situation:
Go inside your phpMyAdmin directory inside XAMPP installation folder. There will be a file called config.inc.php. Inside that file, find this line:
$cfg['Servers'][$i]['password'] = '';
you must make sure that this field has your mysql root password (the one that you set).
这篇关于phpMyAdmin - 无法连接 - 无效设置 - 自从我添加了 root 密码 - 被锁定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:phpMyAdmin - 无法连接 - 无效设置 - 自从我添加了 root 密码 - 被锁定


基础教程推荐
- 使用pyodbc“不安全"的Python多处理和数据库访问? 2022-01-01
- SQL Server 中单行 MERGE/upsert 的语法 2021-01-01
- 将数据从 MS SQL 迁移到 PostgreSQL? 2022-01-01
- 在 VB.NET 中更新 SQL Server DateTime 列 2021-01-01
- SQL Server:只有 GROUP BY 中的最后一个条目 2021-01-01
- ERROR 2006 (HY000): MySQL 服务器已经消失 2021-01-01
- Sql Server 字符串到日期的转换 2021-01-01
- 如何在 SQL Server 的嵌套过程中处理事务? 2021-01-01
- 无法在 ubuntu 中启动 mysql 服务器 2021-01-01
- SQL Server 2016更改对象所有者 2022-01-01