为PHPMyAdmin创建root密码 [英] Create a root password for PHPMyAdmin
本文介绍了为PHPMyAdmin创建root密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
PHPMyAdmin给我的消息是用户(根)没有密码.
PHPMyAdmin is giving me a message saying that the user (root) does not have a password.
那么,我该如何创建一个?
So, how can I create one?
推荐答案
好吧,我相信我已经解决了密码配置问题"-WampServer 2.2-Windows 7.
Well, I believe that I've solved the password configuration 'issue' - WampServer 2.2 - Windows 7.
我执行的三个步骤:
-
在MySQL控制台中设置一个新密码.为此:
mysqladmin -u root password 'your_password'
在phpMyAdmin
中,单击用户,然后为用户root
设置相同的密码.
In phpMyAdmin
click in users and set the same password to the user root
.
最后,在config.inc.php
中设置新密码.请勿更改此文件中的其他任何内容.
Finally, set your new password in the config.inc.php
. Don't change anything else in this file.
这对我有用.祝你好运!
This worked for me. Good luck!
丹尼尔
这篇关于为PHPMyAdmin创建root密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文