Phpnow_1.4.5-20 preparation php environment, connected to the database error: Accessdeniedforuser 'root' @ 'localhost' (use
Source: Internet
Author: User
Phpnow_1.4.5-20 build php environment, connect to the database error: Accessdeniedforuser 'root' @ 'localhost' (usephpnow_1.4.5-20 build php environment, connect to the database error: Accessdeniedforuse phpnow_1.4.5-20 build php environment, connect to the database error: access denied for user 'root' @ 'localhost' (use
Phpnow_1.4.5-20 to build php environment, connect to the database error: Access denied for user 'root' @ 'localhost' (using password: YES), could you tell me why?
------ Solution --------------------
The password is incorrect.
Dos root connection successful?
------ Solution --------------------
Confirm your mysql password and connect again.
------ Solution --------------------
Change the password.
Insufficient permissions
Http://topic.csdn.net/u/20090515/21/2b3c9a12-d8a5-4bb1-9895-6069cef5aef8.html
------ Solution --------------------
Change your php. ini to see if there is pwd in it: Shenma. you can remove the quotation marks and try again.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.