The solution to the 1045 error in the mysql database: first find the [my.ini] file under the MySQL installation path, and open it with Notepad; then find the location of mysqld; then add the statement [skip] under [mysqld] -grant-tables]; save it at last.
The above is the detailed content of how to deal with the 1045 error in the mysql database. For more information, please pay attention to other related articles on 1024programmer.com!