On Wed, Jun 10, 2009 at 12:15 AM, Aniketto <[email protected]>wrote:
> > Hi all, > I am using PHP with Zend for quite a period. > I want to have my MySQL server on a different server than my web server. > (This web server has Apache and my PHP zend application on it). > I want to use database in this new server in my application. > As I am using Zend I dont have any statement like mysql_connect()etc. > > Now what settings I need to do so that to use a database on a different > server than localhost. > Do I need to make any change in php.ini. > Please suggest me solution to this. > Pass the appropriate the host parameter at instantiation time. The docs are pretty clear, e.g., http://framework.zend.com/manual/en/zend.db.html#zend.db.adapter.connecting.factory -- David Mintz http://davidmintz.org/ The subtle source is clear and bright The tributary streams flow through the darkness -- David Mintz http://davidmintz.org/ The subtle source is clear and bright The tributary streams flow through the darkness
