Difficult diseases
Database connection failed: Mysql_error:access denied for user ' root ' @ ' localhost ' (using Password:yes)
What is this, what's the password?
I'll put Appserv in the bar. This error occurs when the project is accessed and then visited the project site.
Access to phpMyAdmin is normal
(Not the server is your own computer)
Please help, the strength of the detailed point. To PHP just to understand
Reply to discussion (solution)
Root user doesn't have permission to check your password.
Find the configuration file for your project and change the password.
Mysql_error:access denied for user ' root ' @ ' localhost ' (using Password:yes)
It says your root user's password is wrong.
Root's default administrator user name, as long as you do not delete him, then the root user always exists
Then the problem is on the password, using Password:yes means you entered the password, but the password was wrong
Since phpMyAdmin can work, you just have to find the password from the phpMyAdmin configuration file.