[英]how to change mysql password in WampServer Version 3.0.6 32bit
I recently installed WampServer Version 3.0.6 32bit, i am trying to change the password of mysql.我最近安装了 WampServer 版本 3.0.6 32 位,我正在尝试更改 mysql 的密码。 it shows the first error "No database selected".
它显示第一个错误“未选择数据库”。 i selected the "MySql" database and try to create a password then it shows "Unknown column 'password' in 'field list'"
我选择了“MySql”数据库并尝试创建一个密码,然后它在“字段列表”中显示“未知列‘密码’”
The command m using is "update user set password=password('abc@jkl') where user='root'; m 使用的命令是“update user set password=password('abc@jkl') where user='root';
3.Now in order to change the default password we need to type following query in the MySQL console (in this example we are setting the password to– “foo“) 3.现在为了更改默认密码,我们需要在 MySQL 控制台中键入以下查询(在此示例中,我们将密码设置为 – “foo”)
`SET PASSWORD FOR root@localhost=PASSWORD('foo');`
4. In the older versions of the phpmyadmin we need to manually change the password in the phpmyadmin config file but in the current version we can skip this step. 4.在旧版本的phpmyadmin中我们需要手动修改phpmyadmin配置文件中的密码,但在当前版本中我们可以跳过这一步。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.