Home > Backend Development > PHP Tutorial > phpnow_1.4.5-20筹建php环境,连接到数据库报错: Access denied for user 'root'@'localhost' (use

phpnow_1.4.5-20筹建php环境,连接到数据库报错: Access denied for user 'root'@'localhost' (use

WBOY
Release: 2016-06-13 13:01:36
Original
1019 people have browsed it

phpnow_1.4.5-20搭建php环境,连接到数据库报错: Access denied for user 'root'@'localhost' (use
 phpnow_1.4.5-20搭建php环境,连接到数据库报错:Access denied for user 'root'@'localhost'(using password :YES),请问这是为什么啊? 
------解决方案--------------------
密码错了。
dos下root能否连接成功
------解决方案--------------------
确认一下你的mysql密码再来连接.
------解决方案--------------------
密码改过吧
权限不够了

http://topic.csdn.net/u/20090515/21/2b3c9a12-d8a5-4bb1-9895-6069cef5aef8.html
------解决方案--------------------
更改下你的php.ini看看里面有一样是pwd:神马的你把引号里面的去掉再试试

Related labels:
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 Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template