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 <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]