I Installed XAMPP today and changed my root password as mentioned in official How-To guide
- Code: Select all
/opt/lampp/bin/mysqladmin --user=root password "mypassword"
after changing password when I open localhost/Phpmyadmin , it shows me an error
Error
- Code: Select all
mysqli_real_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO)
I have also tried to enter new password in config.inc.php file
- Code: Select all
$cfg['Servers'][$i]['password'] = 'mypassword';
but phpmyadmin is not picking up the new password, however when I change the password to "" from command line, I can access PhpMyAdmin page again
Any idea how can I make the phpmyadmin pick my new password ?
Any help would be appreciated
Thanks