Error: Access denied for user ‘root’@’localhost’ (using password: YES), read a lot of blog posts on the Internet, and finally determined that it was the wrong password configured for the project.
- Solutions:
- Reconfigure the password for connecting to mysql without adding Spaces.
- If the password forgot to reset the password, specific tutorial online a lot of information.
- My situation is not the above two. After a long investigation, I found that the project used the automatic configuration tool and did not read the password in the local project configuration file, so I just turned off the automatic configuration.