Home > php教程 > php手册 > body text

故障解决:PHPMyAdmin连接MYSQL的问题

WBOY
Release: 2016-06-13 10:29:20
Original
1102 people have browsed it

今天装一个系统,debian的etch版本,mysql都配置好了,但是用phpmyadmin 2.11.0 连接mysql总提示

#1045 - Access denied for user root@localhost (using password: YES) 错误,但是密码明明是正确的,在命令行下也没问题。

象这个情况,phpmyadmin采用[auth_type] = http;倒也可以,不过为什么cookie就不成呢?后来猜测,是不是php的Session处理有问题呢?从/var/lib/php5的session文件中,发现该root密码,其中有“&”字符,php给编码成了“&”,难道真的是这儿不成?

反正删除了php的session文件,也把mysql的root用户密码中的&去掉了,然后登陆就正常了,有点怪啊

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!