By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,610 Members | 2,155 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,610 IT Pros & Developers. It's quick & easy.

No connect - error 111

P: n/a
I have MySQL 4 running on a Win2K3 Server. I can connect to it from
MySQL Control Center running on a client PC on our network. But I
cannot connect to it from the outside world. Get the "can't connect
(111)" error.

The permissions table has a user "user@%" in there and this user has
global access to everything.

If I Telnet to the MySQL port from the outside world I do get a
connection and the MySQL version echoed back to me so the port appears
to be open (not a firewall issue).

But trying to connect with the following command will not work:

mysql -h -p 8123 -u user

It prompts for password - then gives the "can't connect (111)" error.

Neither can I connect to it from the outside world through code in PHP
(same error returned)

This error number seems to be a catch all - meaning "can't

Is there some way I can get more meaningful information as to WHY it
can't connect? Bad password?? Bad user name?? No permissions??

It would really help me track this problem down if I knew more about
why it is unable to connect.

Jul 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.