Problem with phpmyadmin not recognizing password
Posted by: hestergreen (---.sub-166-250-35.myvzw.com)
Date: August 05, 2012 09:21AM

phpmyadmin had been working fine but when I added a password to localhost root phpmyadmin wouldn't recognize it and I was not able to access my site!

Options: ReplyQuote
Re: Problem with phpmyadmin not recognizing password
Posted by: RiggsFolly (---.as13285.net)
Date: August 06, 2012 12:47PM

Hi Hester,

When you add a password to the root user in MySQL you also need to change phpMyAdmin's config so that it knows about this new password, OR, change phpMyAdmin so that it asks you for a userid and password when you try and us it.


Option 1: Add the new password to the phpMyAdmin config file

Edit C:\wamp\apps\phpmyadminX.Y.Z\config.inc.php


set these parameters as follows

$cfg['Servers'][$i]['password'] = 'YOUR_NEW_PASSWORD';
$cfg['Servers'][$i]['AllowNoPassword'] = false;



Option 2: Make the phpMyAdmin app throw a login screen asking for Userid and Password

set these parameters as follows

$cfg['Servers'][$i]['auth_type'] = 'http';
$cfg['Servers'][$i]['user'] = '';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['AllowNoPassword'] = false;

Options: ReplyQuote


Sorry, only registered users may post in this forum.