After installing the latest version 8.0.11 of mysql, create a user and authorize it. The authorized user is prompted to connect to the database
After consulting some relevant information, I found that it was caused by the inconsistency of the unlocking mechanism of the new version of MySQL account password. Solution: Delete the created users and authorizations.
Change to the original authentication method, then create a new user and authorize or mysql -uroot -p use mysql; ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'your password'; The above is the solution to this error. If you have a better solution, please leave a message on the 123WORDPRESS.COM WeChat public account. Thank you for your support of 123WORDPRESS.COM. You may also be interested in:
|
<<: How to use echarts to visualize components in Vue
>>: Detailed explanation of commands to view linux files
The image can be easily pushed directly to the Do...
Here are some problems encountered in the use of ...
This article example shares the specific code of ...
Table of contents Binding Class Binding inline st...
This article example shares the specific code of ...
Effect: <div class="imgs"> <!-...
To obtain the calculated style in a CSS element (t...
Table of contents About Kubernetes Basic environm...
I won’t waste any more time talking nonsense, let...
HTML validate refers to HTML validation. It is the...
When it comes to remote desktop connection to Lin...
Table of contents 1. Project folder structure 1. ...
Table of contents 1. Differences between the two ...
Preface DISTINCT is actually very similar to the ...
Nginx load balancing server: IP: 192.168.0.4 (Ngi...