简体   繁体   English

如何为phpmyadmin数据库用户修复意外更改的密码

[英]How to fix accidentally changed password for phpmyadmin database user

PhpMyAdmin creates some database tables and the phpmyadmin user to access them. phpmyadmin创建一些数据库表,并且phpmyadmin用户访问它们。 I let it generate a random password during the setup process. 我让它在设置过程中生成一个随机密码。 Unfortunately later I accidentally changed that password on the database, and now PhpMyAdmin has stored somewhere in configuration the value that is not matching the one on the database. 不幸的是,后来我不小心在数据库上更改了该密码,现在PhpMyAdmin已在配置中的某个位置存储了与数据库上的密码不匹配的值。 How can I fix it? 我该如何解决?

The connection data are stored in: 连接数据存储在:

/etc/dbconfig-common/phpmyadmin.conf

One can change the password on the database and then the value of dbc_dbpass in the file above. 可以更改数据库的密码,然后更改上面文件中的dbc_dbpass的值。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM