Can't get past phpMyAdmin
Posted: 24. September 2013 05:44
I am running xampp on windows 7, it was installed about 1-1/2 years ago and has worked like a charm until a week ago when I could not get past the phpMyAdmin login.
When I try to login, I get 2 messages:
At the top: #2002 Cannot log in to the MySQL server
At the bottom: Connection for controluser as defined in your configuration failed
Also, when I look in the xampp control panel, Apache is running, but MySql is not - when I click on start it indicates it started, then flips back to not running.
I have read many of the items on the web addressing the 2002 error, and have tried the fix most offered:
Which does not seem to make a difference.
I renamed the xampp folder as a backup, and installed the new version into a new folder xampp - and copied the htdocs folder from the backup which has the MySql databases that I need..but it still does not see them. Is there a way to have MySql recognize them? I looked at importing, but I think that requires a backup formatted file to import.
Is there another file in the backup (the original) xampp folder that I need to copy over to have it recognize the databases?
When I try to login, I get 2 messages:
At the top: #2002 Cannot log in to the MySQL server
At the bottom: Connection for controluser as defined in your configuration failed
Also, when I look in the xampp control panel, Apache is running, but MySql is not - when I click on start it indicates it started, then flips back to not running.
I have read many of the items on the web addressing the 2002 error, and have tried the fix most offered:
open phpmyadmin/config.inc.php and change:
$cfg['Servers'][$i]['host'] = 'localhost';
to:
$cfg['Servers'][$i]['host'] = '127.0.0.1';
Which does not seem to make a difference.
I renamed the xampp folder as a backup, and installed the new version into a new folder xampp - and copied the htdocs folder from the backup which has the MySql databases that I need..but it still does not see them. Is there a way to have MySql recognize them? I looked at importing, but I think that requires a backup formatted file to import.
Is there another file in the backup (the original) xampp folder that I need to copy over to have it recognize the databases?