How to solve the problem of 1045 when the local database is connected to the server database? This means: Access denied for user "root"@localhost Solution: 1. Find the my.ini file in the MySQL installation path and open it with Notepad; 2. After opening, find the location of mysqld. There are multiple mysqld in the content of this file. Pay attention to the position pointed by the arrow 3. Add the statement skip-grant-tables under [mysqld] and save it after adding. The role of skip-grant-tables as a startup parameter: MYSQL server does not load permission judgment, and any user can access the database. In other words, after enabling this parameter, the security of the database will be reduced. 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:
|
<<: How to enable or disable SSH for a specific user or user group in Linux
>>: Native js to implement a simple calculator
Table of contents background example Misconceptio...
1. Environment and related software Virtual Machi...
The default ssh remote port in Linux is 22. Somet...
FFMPEG 3.4.1 version parameter details Usage: ffm...
1. Compile proto Create a new proto folder under ...
Today, let’s talk about how to start four MySQL d...
Table of contents 1. Reasons for index failure 2....
Achieve results Implementation Code html <div ...
Table of contents Primary key index Create indexe...
We often want to find a file in Linux, but we don...
1. Basic implementation of limit In general, the ...
LEMP (Linux + Nginx + MySQL + PHP) is basically a...
Software Version Windows: Windows 10 MySQL: mysql...
Syntax composition: 1 Annotation information 2 Co...
Table of contents Preface Introduction to Dockerf...