1 Replies - 877 Views - Last Post: 29 December 2009 - 11:23 PM

#1 sudhakararaog  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 65
  • Joined: 14-August 09

error with mysql

Posted 29 December 2009 - 11:20 PM

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.

Is This A Good Question/Topic? 0
  • +

Replies To: error with mysql

#2 no2pencil  Icon User is online

  • Admiral Fancy Pants
  • member icon

Reputation: 5358
  • View blog
  • Posts: 27,315
  • Joined: 10-May 07

Re: error with mysql

Posted 29 December 2009 - 11:23 PM

This is an issue with your install of mysql & is therefor a Web Server / Hosting related issue & has nothing to do with PHP code.

** Moved to Web servers & Hosting **

View Postsudhakararaog, on 30 Dec, 2009 - 12:20 AM, said:

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

The mysql engine must be running on the webserver before you can connect to it.

Has this setup ever worked for you? Depending on what instructions that you followed, you may need to open port 3306 on the firewall at least to your local subnet.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1