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" <wil...@pdfsystems.com> 
To: talk@lists.nyphp.org 
Sent: Friday, November 12, 2010 4:02:02 PM 
Subject: [nyphp-talk] mysql connection 




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 configure statement 



'./configure' '--with-mysql=/usr/' '--with-mysqli=/usr/bin/mysql_config' 
'--with-apxs2=/usr/sbin/apxs' '--with-zlib' '--enable-ftp' 



Seems like it should work, works on a local mysql server. 



Thanks 

wil 
_______________________________________________ 
New York PHP Users Group Community Talk Mailing List 
http://lists.nyphp.org/mailman/listinfo/talk 

http://www.nyphp.org/Show-Participation
_______________________________________________
New York PHP Users Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

http://www.nyphp.org/Show-Participation

Reply via email to