Mysql_connect () [function. mysql-connect]: Accessdeniedforuser 'root' @ 'localho prompts "connect () [function. mysql-connect]: Accessdeniedfo mysql_connect () [function. mysql-connect]: Access denied for user 'root' @ 'localho
When the php file is opened, the system prompts "connect () [function. mysql-connect]: Access denied for user 'root' @ 'localhost' (using password: YES )"
How can this problem be solved? I used the wampPHP integrated environment. I have changed the root password before, but I cannot use it when I modify and execute my SQL. I have created a new user, but I still cannot, my SQL is started. Answer? Online...
------ Solution --------------------
The fastest solution to this problem is to reinstall
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service