为 PHPMyAdmin 创建一个 root 密码 [英] Create a root password for PHPMyAdmin

查看:24
本文介绍了为 PHPMyAdmin 创建一个 root 密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

PHPMyAdmin 给我一条消息,说用户(root)没有密码.

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.

我所做的三个步骤:

  1. 在 MySQL 控制台中设置一个新密码.要做到这一点:mysqladmin -u root password 'your_password'

phpMyAdmin中点击users并为用户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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆