When connecting to the local database, navicat for MySQL shows a 1045 error as shown below: After checking a lot of information, it means that MySQL does not authorize remote connection, that is, the permissions are insufficient; Solution: 1. First open the command line: Start->Run->cmd. D: cd D:\phpStudy\MySQL\bin mysql -u root mysql mysql> UPDATE user SET Password=PASSWORD('newpassword') where USER='root'; mysql> FLUSH PRIVILEGES; mysql> quit After executing the above command, try again and see if this error still occurs! The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: The role of nextTick in Vue and several simple usage scenarios
>>: Linux file systems explained: ext4 and beyond
MySQL backup Cold backup:停止服務進行備份,即停止數據庫的寫入Hot ba...
Preface We often say that node is not a new progr...
Why are the SQL queries you write slow? Why do th...
A web server can build multiple web sites with in...
I just happened to encounter this small requireme...
This article shares the installation and activati...
Table of contents 1. Where is the slowness? 2. Ha...
This article shares with you the detailed install...
Table of contents Create a Vite project Creating ...
Last week, the teacher gave me a small homework, ...
This article refers to the work of 51CTO blog aut...
Preface This article mainly introduces the releva...
In daily work, we sometimes run slow queries to r...
Preface In the past, the company used the 5.7 ser...
This article shares the MySQL installation tutori...