You are not logged in.
[raul@horus ~]$ cat /etc/my.cnf | grep skip
skip-locking
skip-networking
[raul@horus ~]$ sudo /etc/rc.d/mysqld restart
:: Stopping MySQL [DONE]
:: Starting MySQL [DONE]
[raul@horus ~]$ telnet localhost 3306
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
Last edited by raul_nds (2008-06-02 21:54:14)
Offline
[raul@horus ~]$ telnet localhost 3306
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
Connection closed by foreign host.
[raul@horus ~]$
whyyyyyyyy
Offline
Hi rual_nds,
not sure if this is what are you looking for but to connect to mysql --> http://dev.mysql.com/doc/refman/5.1/en/ … cting.html
also be sure secure your initial msql account -> http://dev.mysql.com/doc/refman/5.0/en/ … leges.html
hope that helps,
-Vincent
Offline
I had this problem recently. Assuming you've disabled the skip-networking startup option and have granted the proper permissions to your db user, simply add the following line to /etc/hosts.allow:
mysqld : ALL : ACCEPT
That cleared up the "Connection closed by foreign host" issue for me.
Offline
tsweetser ,
That does indeed solve it I forgot to post the solution and mark the thread as solved
Offline