PhpMyAdmin password(PhpMyAdmin 密码)
问题描述
我收到错误 #1045 - 用户 'root'@'localhost' 访问被拒绝(使用密码:NO)在我不小心更改了 phpmyadmin 中 root 和 127.0.0.1 的密码之后.问题是我无法更改 common.lib.php.我想以某种方式恢复 mysql 中的这些更改......服务器的安全性我不能改变太多
I get the error #1045 - Access denied for user 'root'@'localhost' (using password: NO) after I accidentaly changed the password in phpmyadmin for root and 127.0.0.1 . the problem is i cannot change common.lib.php. I want to revert these changes in mysql somehow... Doe to the security of the server i cannot change much
推荐答案
我已经有一段时间没有使用 phpMyAdmin,但如果我没记错的话,它会自行将密码存储在 mysql 数据库中.因此,如果您能够访问服务器的 命令行,您可以使用简单的 SQL 语句更改密码.
It's been a while since I've used phpMyAdmin, but if I'm not mistaken, it stores it's passwords in the mysql database it self. So, if you are able to get access to the command-line of the server, you are able to change the password using simple SQL statements.
这篇关于PhpMyAdmin 密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:PhpMyAdmin 密码
基础教程推荐
- ORA-01830:日期格式图片在转换整个输入字符串之前结束/选择日期查询的总和 2021-01-01
- 如何在 CakePHP 3 中实现 INSERT ON DUPLICATE KEY UPDATE aka upsert? 2021-01-01
- CHECKSUM 和 CHECKSUM_AGG:算法是什么? 2021-01-01
- 从字符串 TSQL 中获取数字 2021-01-01
- while 在触发器内循环以遍历 sql 中表的所有列 2022-01-01
- 带有WHERE子句的LAG()函数 2022-01-01
- MySQL根据从其他列分组的值,对两列之间的值进行求和 2022-01-01
- MySQL 5.7参照时间戳生成日期列 2022-01-01
- 使用 VBS 和注册表来确定安装了哪个版本和 32 位 2021-01-01
- 带更新的 sqlite CTE 2022-01-01
