[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: RH 8.0 and mySQL



We are unable to connect via telnet to port 3306 (does telnet server need to
be running?)  This machine is on our LAN and already behind a firewall, so
no firewall is running locally on the machine. I ran the netstat command and
it appears to be listening on port 3306.  What should I check for in the
mySQL config?


-----Original Message-----
From: redhat-list-admin redhat com [mailto:redhat-list-admin redhat com]On
Behalf Of nate
Sent: Friday, February 28, 2003 4:38 PM
To: redhat-list redhat com
Subject: Re: RH 8.0 and mySQL

Richard Humphrey said:
> I have a default install of RH 8 and mySQL 3.23.15 (I think) and I can get
> things to work just fine using PHP locally, but if I try from another
> server to run some PHP scripts I am told that I am unable to connect. We
> have tried using the hostname as well as the IP address in our scripts and
> also plugging in the port number (as suggested) to no avail. We keep
> getting the message that we are unable to connect to hostname.domain etc.
> I checked and we are not running with the skip-networking option enabled
> so it shouldn't be that. What else could be causing this problem?

telnet to the mysql server on port 3306 from the remote server and
see if you can connect.


if you can then it works, if you cannot then check firewall settings
and mysql config.

also run netstat -an | grep 3306 on the mysql server to be sure
it's listening for connections

I highly reccomend securing mysql connections with stunnel.

nate





--
redhat-list mailing list
unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]