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:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to