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 TOKEN Timer Refresher 2. Intern...
In fact, there are many corresponding writing met...
<frameset></frameset> is familiar to e...
In new projects, axios can prevent duplicate subm...
1. Use CSS, jQuery, and Canvas to create animatio...
Keepalive is often used for caching in Vue projec...
In the later stage of exploiting SQL injection vu...
"Grand" are probably the two words that ...
Introduction 1.<iframe> tag: iframe is an i...
1. Write the Dockerfile (1) Right-click the proje...
Two major categories of indexes Storage engine us...
What is MIME TYPE? 1. First, we need to understand...
1. Change password 1. Modify the password of ordi...
Install linux7.2 Internet access configuration on...
1. Install dependency packages yum -y install gcc...