注意这个old_password(MYSQL函数)这样一来就把密码加密成16位,而不能用
password()这个函数,不然就加密成40位。
然后修改PHPMYADMIN
实现代码如下:
$cfg['Servers'][$i]['auth_type'] = 'http'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
放上俺的程序,然后给大斌弄个BLOG。
OK,明天就该弄下VIRTUAL HOST了。
以上就是【用phpmyadmin更改mysql5.0登录密码】的全部内容了,欢迎留言评论进行交流!