Re: [nyphp-talk] mysql connection

2010-11-12 Thread Donald J. Organ IV
Apache doesn't connect to mysql I believe your issue is what I stated earlier mySQL is not listening on your private ip addressedit your my.cnf file ___ New York PHP Users Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo

Re: [nyphp-talk] mysql connection

2010-11-12 Thread William Klein
I figured it out it was SELINUX Now I need to figure out how to get SELINUX not to interfere with the apache-mysql connection. If anyone knows I wouldn't mind but it's really time to start my research on that, most likely on a different list. Thanks From: William Klein [mailto:wil...@pd

Re: [nyphp-talk] mysql connection

2010-11-12 Thread Donald J. Organ IV
Sounds like your mysql server is not listening on your private IP address...you probably need to edit my.cnf and tell it to listen on your private(internal) ip address. - Original Message - From: "willie klein" To: talk@lists.nyphp.org Sent: Friday, November 12, 2010 4:02:02 PM Subj

Re: [nyphp-talk] mysql connection

2010-11-12 Thread William Klein
Yeah I understand that. I can connect from the apache server with mysql -u root -h 192.168.199.31 -p but the php connect fails with Warning: mysql_connect() [function.mysql-connect ]: Can't connect to MySQL server on '192.168.199.31' (13) in

Re: [nyphp-talk] mysql connection

2010-11-12 Thread Rob Marscher
On Nov 12, 2010, at 4:02 PM, willie klein wrote: > Setting up a new server and finally splitting my apache server and mysql > server into 2 virtual boxes. > For some reason I can’t connect to the remote server with php but I can > connect with mysql command line. > I think it must be some way I c

[nyphp-talk] mysql connection

2010-11-12 Thread willie klein
Hi All Setting up a new server and finally splitting my apache server and mysql server into 2 virtual boxes. For some reason I can't connect to the remote server with php but I can connect with mysql command line. I think it must be some way I compiled php, tried just using rpms also. Here is my