[plug] mysql server

James Devenish devenish at guild.uwa.edu.au
Wed Sep 22 17:07:32 WST 2004


In message <200409221700.43688.russ at powerstech.com>
on Wed, Sep 22, 2004 at 05:00:43PM +0800, Russ Powers wrote:
> telnet: Unable to connect to remote host: Connection refused

Okay, then, I think the problem is along the lines of what Brad and I
have described. The first question is whether MySQL is listening with
"TCP" or whether it is only using "UNIX sockets".

> Linux 2.4.26 (Libranet).

I do not use Libranet, so I am not sure what instructions to give you.
If is possible that you have a file called 'my.cnf' on your system.
Perhaps it is at /etc/my.cnf or /etc/mysql/my.cnf or similar. Try
`locate /my.cnf` if you are unsure -- I get the feeling you already know
this file, since you have already mentioned a 'port' setting. Have a
look under '[mysqld]' section in that file. Does it mention anything
about "binding" to "lo"? If so, remove that. I think mysqld will then
listen of all available interfaces. If this is not your problem, it is
also possible that a firewall is causing the problem. Did Brad's netstat
command yield any insights so far?





More information about the plug mailing list