[英]error in mysql user password
I am using Ubuntu 10.10
and I installed phpmyadmin
from synaptic package manager. 我正在使用
Ubuntu 10.10
,我从synaptic包管理器安装了phpmyadmin
。
But i did not put any password on mysql root user and phpmyadmin user. 但是我没有在mysql root用户和phpmyadmin用户上输入任何密码。
Later, i tried to log into phpmyadmin with user root
and no password it get error 后来,我试图用
root
用户登录phpmyadmin,没有密码就出错了
Login without a password is forbidden
by configuration (see AllowNoPassword)
And chage password in mysql is not working, I tried to update password using password('pma')
in passsword field in user
table of mysql
database, but still I am not being able to log in from console. 并且mysql中的chage密码不起作用,我试图在
mysql
数据库的user
表的passsword字段中使用password('pma')
更新密码,但是我仍然无法从控制台登录。
How to change mysql password, and where is this phpmyadmin configuration file. 如何更改mysql密码,以及这个phpmyadmin配置文件在哪里。
I'm not sure about the larger problem, but phpMyAdmin's configuration file is stored in phpMyAdmin/config.inc.php
. 我不确定更大的问题,但phpMyAdmin的配置文件存储在
phpMyAdmin/config.inc.php
。 The username and password can be found on line 85: 用户名和密码可以在第85行找到:
85 $cfg['Servers'][$i]['user'] = 'root'; // MySQL user
86 $cfg['Servers'][$i]['password'] = 'root'; // MySQL password (only needed
87 // with 'config' auth_type)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.