#1045 - Access denied for user 'root'@'localhost' (using password: YES)

前端 未结 23 3417
刺人心
刺人心 2020-11-30 01:39

This might seem redundant but I was unable to find a correct solution.

I was unable to login to mysql using the mysql console.It is asking for a password and I have

23条回答
  •  春和景丽
    2020-11-30 02:44

    In the my.ini file in C:\xampp\mysql\bin, add the following line after the [mysqld] command under #Mysql Server:

    skip-grant-tables
    

    This should remove the error 1045.

提交回复
热议问题