In this tutorial im going to solve below error 1045 – Access denied for user ‘root’@’localhost’ (using password: No)
Errror : –
1045 - Access denied for user 'root'@'localhost' (using password: No)
SOLUTION
/opt/lampp/phpmyadmin
vi config.inc.php
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '8789';
/* Server parameters */
//$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['AllowNoPassword'] = true;
Save and exit.
Now working successfully…..ππ