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

前端 未结 23 3414
刺人心
刺人心 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:43

    1. Go to C:\xampp\phpMyAdmin

    2. Edit the config.inc.php file

    3. Replace $cfg['Servers'][$i]['auth_type'] = 'config'; by $cfg['Servers'][$i]['auth_type'] = 'cookie';

    For now on the PHPMyAdmin will ask you for your password, no more error.

提交回复
热议问题