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 1. What is currying 2. Uses of ...
The default program publishing path of tomcat7 is...
The previous article introduced the MySql multi-c...
Preface The Boost library is a portable, source-c...
VMware12.0+Ubuntu16.04+MySQL5.7.22 installation t...
Under the requirements of today's responsive ...
This article example shares the specific code of ...
introduction Our company is engaged in the resear...
Usually in project development, we have to deal wi...
Today, the company project needs to configure doc...
(I) Method 1: Define it in advance directly in th...
After the changes: innodb_buffer_pool_size=576M -...
A simple license plate input component (vue) for ...
1. The vertical-align property achieves the follo...
Table of contents 1. The concept of closure Addit...