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
Table of contents Problem Description Rendering T...
Table of contents Ideas Request interception Resp...
Download CentOS7 The image I downloaded is CentOS...
The following command is often used: chmod 777 文件...
Table of contents What is a skeleton screen? Demo...
Table of contents Overview Hash Properties Host p...
Table of contents Preface Error Object throw try…...
Table of contents Preface Scenario simulation Sum...
Preface Sometimes I feel that the native UI of We...
This article example shares the specific code of ...
There is only one solution, that is to change the...
This article example shares the specific code of ...
Table of contents Preface Global Lock Table lock ...
Chapter 1 Source Code Installation The installati...
When the system encounters various IO bottlenecks...