Jump to content

error with mysql


sudhakararaog

Recommended Posts

hi

 

i am using windows vista and installed wamp server, initially i installed wamp and accessed phpmyadmin and while setting a password for the root i did a mistake and could not access phpmyadmin and also renamed some php files so i uninstalled wamp server and re installed

 

now the problem i am facing is when i click on mysql.exe located at D:\wamp\bin\mysql\mysql5.1.36\bin i am getting the following error

error 2003 cant connect to Mysql server on localhost 10061

 

in config.inc.php located at d:\wamp\apps\phpmyadmin3.2.0.1 i have the following

$cfg['Servers'][$i]['host'] = 'localhost';

$cfg['Servers'][$i]['port'] = '3306';

$cfg['Servers'][$i]['auth_type'] = 'config';

$cfg['Servers'][$i]['user'] = 'root';

$cfg['Servers'][$i]['password'] = 'root';

$cfg['Servers'][$i]['AllowNoPassword'] = true;

 

along with others.

 

when i type http://localhost i am able to see the welcome screen of wamp and can click on phpinfo but when i click on phpmyadmin it takes a while to load and a blank screen appears

 

also i have stopped all services and restarted all services from the wampserver icon in the system tray, normally the colors change from red to yellow to white, the color is at yellow and does not change to white

 

how do i solve the error error 2003 cant connect to Mysql server on localhost 10061 so that i can use phpmyadmin

 

please advice.

 

thanks.

Link to comment
https://forums.phpfreaks.com/topic/186663-error-with-mysql/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.