Ask the Expert

Error messages in older versions of MySQL

I was installing MySQL 3.23 on Windows XP Home edition. After installation, I tried to run "mysql show" command but I kept geting this error message: ERROR 2003: Can't connect to MySQL server on 'localhost' (10061) Can you tell me what the problem might be and how I can fix it?

    Requires Free Membership to View

MySQL 3.23 is a very old version; the current recommended release is 5.0. Version 3.23 will still work, but you will miss out on a number of features and bug fixes added in the last few years.

The MySQL manual provides a good explanation of the possible issues:

"The error (2003) Can't connect to MySQL server on 'server' (10061) indicates that the network connection has been refused. You should check that there is a MySQL server running, that it has network connections enabled, the network port you specified is the one configured on the server, and that the TCP/IP port you are using has not been blocked by a firewall or port blocking service."

This was first published in August 2006

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: