MySQL said: Documentation #1045 - Access denied for user 'root'@'localhost' (using password: NO)

前端 未结 20 1735
失恋的感觉
失恋的感觉 2020-11-29 02:41

I installed xampp,but when I tried to run it I got an error as thus:

Error

MySQL said: Documentation

1045 - Access denied for user \'root\'@\'localhost

20条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-11-29 03:24

    Try resetting your password since it seems it has changed you can reset your password by going to

    C:\xampp\mysql
    

    and clicking on the resetroot.bat file

    Then change in the php config file the password back to blank and you should have access again

提交回复
热议问题