MySQL Forums
Forum List  »  MySQL Administrator

Re: MySQL Error number 2003???
Posted by: AlliumPorrum
Date: July 04, 2006 06:53AM

I tried that, but it just says that "connection to port 3306 cannot be established".

If I take netstat from my server, I can anyway see that MySQL is running on port 3306:
jasurakk@jasurakk-dell:~$ netstat -l -t -n
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0* LISTEN
tcp 0 0* LISTEN
tcp 0 0* LISTEN
tcp 0 0* LISTEN
tcp 0 0* LISTEN
tcp6 0 0 :::22 :::* LISTEN

I also tried what happens if I try to use telnet client on the server machine, and the response is quite strange:

jasurakk@jasurakk-dell:~$ telnet localhost 3306
Connected to localhost.
Escape character is '^]'.
5.0.22-Debian_0ubuntu6.06-lox*d<?cWk,4_aK4aly?iu1Connection closed by foreign host.

Do you have any idea what is wrong the connection??

Options: ReplyQuote

Written By
Re: MySQL Error number 2003???
July 04, 2006 06:53AM
September 04, 2006 10:49AM
September 12, 2006 01:18PM
October 20, 2006 09:40PM
October 20, 2006 09:47PM
October 28, 2006 06:22PM
December 26, 2006 11:39AM
September 27, 2007 03:04PM
January 27, 2007 09:13PM
February 06, 2008 11:04PM
June 29, 2008 02:51PM
February 04, 2008 01:28AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.