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

前端 未结 20 1673
失恋的感觉
失恋的感觉 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:35

    Go to the file C:\wamp\apps\phpmyadmin3.2.0.1\config.inc.php

    Find the line $cfg['Servers'][$i]['password']='' and change it to

    $cfg['Servers'][$i]['password']='root'
    

    where root is the name of the password you had set in this instance

    Hope this helps somebody.

提交回复
热议问题