472,097 Members | 1,066 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,097 software developers and data experts.

I can't connect to MySQL server on 'localhost' (10061)


I know this question was asked many times before but I couldn't find a solution that works for me.
I've installed an apache server (2.2.6), PHP (5.2) and MySQL (5.0.45) in my windows XP SP2.
I've configured everything as needed (or at least I think so)
and tested my MySQL with a small php page on the localhost but the browser showed the error:

"Can't connect to MySQL server on 'localhost' (10061)"

I've tried many things but and now I'm pretty stuck. Is Navicat (www.navicat.com) a good try?

Mar 13 '08 #1
2 5780
13,262 8TB
The first thing is probably to check if MySQL is running at all.
Can you connect to it from the a command prompt?
Mar 13 '08 #2
yes, thank you for your advice and I just able to connect to the server after checking. Also, Navicat is worth to try too.
Mar 14 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by pieter_hordijk | last post: by
reply views Thread by Steve Carson-Rowland | last post: by
2 posts views Thread by David Ehmer | last post: by
reply views Thread by Ryan Stewart | last post: by
4 posts views Thread by Mondal | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.