Re: PHP with MySQL doubt

From: Date: Sat, 10 Mar 2001 01:48:33 +0000
Subject: Re: PHP with MySQL doubt
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-43269@lists.php.net to get a copy of this message
You're done. Just add the port into your mysql_connect function. -- Visit the Zend Store at http://www.zend.com/store/ Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm ----- Original Message ----- From: Pablo Pasqualino <coolio@mdq.com> Newsgroups: php.general Sent: Friday, March 02, 2001 9:43 PM Subject: [PHP] PHP with MySQL doubt > Hi > > I have an account on a hosting service provider. > > They have a server with a lot of clients... and there, each client has his own > Apache binary compiled with PHP 4. > > They also offer MySQL... but they only have ONE server for all their customers, > and so, they just offer one db to each one. > > I need to have a lot of different db, so I compiled my own MySQL on the server > > The General MySQL runs at port 3310 > I compiled my own MySQL to run at port 3311 > > I tried it with php, conecting to localhost:3311 and it works fine (with > phpMyAdmin)... > > Now, the question is: > Should I do something special with my Apache/php? > > I generally compile my PHP with the --with-mysql=/path/to/mysql > > But now I am using normally the preinstalled PHP on the server without > any problem... > > Should I recompile my php and tell to the ./configure script the path where my > own MySQL is? or it isn't necesary? > > Thanks! > > Pablo Pasqualino > Mar del Plata, Argentina > http://www.marplatense.com > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#43269) next »