|
Posted by C. on 01/12/07 10:25
Rik wrote:
> howa wrote:
> > in the php.ini, i can't only config to use one mysql socket, but my
> > applications require connection to ultiple local mysql server, using
> > unix socket, listening different port
>
> $link1 = mysql_connect ( 'localhost:3306','user','pass');
> $link2 = mysql_connect ( 'localhost:6000','user','pass');
>
These are NETWORK sockets not UNIX sockets.
howa: RTFM dude - "3.0.10 Added support for ":/path/to/socket" with
server "
C.
Navigation:
[Reply to this message]
|