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.
>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
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.
>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
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.
Micha
With WAMP, there is no need to start mySQL manually.
If you just start it, all will be handled for you.
IF the install is correct of course.
R.