MySQL Forums
Forum List  »  Install & Repo

Re: SOLUTION TO : can't connect to MySql server on 'localhost' <10061>
Posted by: Anna
Date: March 16, 2006 01:22AM

telnet localhost 3306 or telnet 127.0.0.1 gives Error: "localhost.localdomain is not allowed to connect to this MySql ServerConnection closed by foreing host".

1. Telnet command was issued on the server logged in as root. Server is Ubuntu Linux, MySql, Apache and PHP.

2. /etc/mysql/my.cnf has got no bind-address=127.0.0.1 statement.

3. Reference to "localhost" under "::1" removed in /etc/hosts

4. skip-networking in /etc/mysql/my.cnf commented out.

5. lsof -i :3306 gives msqld 4354 mysql 3u IPv4 6883 TCP *:mysql (LISTEN)

6. netstat -l -t -p gives tcp 0 0 *:mysqld *.* LISTEN 4354/msqld

7. All privileges granted to root.

Any comments?

Options: ReplyQuote


Subject
Written By
Posted
March 16, 2010 11:16PM
June 12, 2009 01:06PM
Re: SOLUTION TO : can't connect to MySql server on 'localhost' <10061>
March 16, 2006 01:22AM
July 25, 2005 08:47AM
January 20, 2006 11:38AM
April 09, 2010 05:07PM
December 09, 2007 06:57AM
January 13, 2010 03:53AM
June 25, 2009 05:58AM
July 15, 2009 02:19PM
July 15, 2009 06:01PM
October 07, 2009 09:41AM
March 14, 2011 06:28AM
December 03, 2009 03:00AM
December 14, 2009 01:14PM
January 04, 2010 03:49AM
March 20, 2010 07:52AM
March 16, 2010 11:08PM
May 10, 2010 06:56PM


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.