MySQL: ERROR 1045 (28000): Unknown error 1045

created at 11-09-2021 views: 2

An error may occur when entering the database for the first time after installing the mysql database using the command line: ERROR 1045 (28000): Unknown error 1045, the solution is as follows:

first step

Find the mysql configuration file my.ini and add code under mysqld

skip-grant-tables

Used to skip authorization form

MYSQLD

second step

Restart mysql service

third step

Log in to the mysql database again

created at:11-09-2021
edited at: 11-09-2021: