Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- error with mysql
December 30, 2009, 6:23 am
rate this thread
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\phpmyadmin126.96.36.199 i have the
$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
how do i solve the error error 2003 cant connect to Mysql server on
localhost 10061 so that i can use phpmyadmin
Re: error with mysql
There are better ways to reset a forgotten root password. Reinstalling
everything seems to be the typical way for many Windows users, but it's
almost never really necessary and just causes a lot more work.
Most obvious question: Is the MySQL server running? mysql.exe is just a
command line client, and if there's no server running and listening, it
won't be able to connect.
But for further discussion you should choose a more appropriate
newsgroup, since this has nothing to do with PHP.