NYCPHP Meetup

NYPHP.org

[nycphp-talk] mysql connection

Donald J. Organ IV dorgan at donaldorgan.com
Fri Nov 12 16:31:29 EST 2010


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" <willie at pdfsystems.com> 
To: talk at lists.nyphp.org 
Sent: Friday, November 12, 2010 4:02:02 PM 
Subject: [nycphp-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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20101112/1f1c80f1/attachment.html>


More information about the talk mailing list