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
1. Download the successfully generated icon file, ...
1.1. Download: Download the zip package from the ...
This post focuses on a super secret Flutter proje...
Method 1: Use lsof command We can use the lsof co...
The main contents of this article are as follows:...
Let's first look at the definition of the pos...
webpack-dev-server core concepts Webpack's Co...
Uninstall the old version of MySQL (skip this ste...
Preface Recently, I was analyzing the startup pro...
Definition of Generics // Requirement 1: Generics...
1. Delete the original mariadb, otherwise mysql c...
This article example shares the specific code of ...
IDEA is the most commonly used development tool f...
If the words in the sql statement conflict with t...
Introduction to MySQL Window Functions MySQL has ...