This article is a mirror article of machine translation, please click here to jump to the original article.

View: 28138|Reply: 0

[Solved] Authentication to host 'localhost' for user 'root' using method 'mysql_nativ...

[Copy link]
Posted on 5/22/2017 1:29:55 PM | | | |
Authentication to host 'localhost' for user 'root' using method 'mysql_native_password' failed with message: Reading from the stream has failed.]


When using software to execute SQL statements, an error is reported, I don't know what the reason is, some say it is a permission problem, some let me use the command line, try, can I log in successfully?

The following is a command line connection, and it can be found that it can be successful, what is the reason?



Finally, I put the configuration file:



Changed to:



The exception is eliminated and the connection is normal!!

The cause of the problem was also found, because I hung up the VPN locally, and I could succeed by using localhost to log out of the VPN!





Previous:Error Code: 1175. You are using safe update mode and you tried to update a ta...
Next:mysql-5.7.17 ODBC installation failure reinstall tutorial
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com