Re: mysql->connect unix socket and host:port feature
| From: | Tomas V.V.Cox | Date: | Sat, 09 Feb 2002 19:12:48 +0000 |
| Subject: | Re: mysql->connect unix socket and host:port feature | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-4516@lists.php.net to get a copy of this message | ||
Pierre-Alain Joye wrote:
>
> hello,
>
> Just a feature request for pearDB, specific to mysql.
> $idconn=mysqlunderscoreconnect({localhost.13360:/temp/mysqlweb60.sock},{root,mo
> tdepasse}); Use when you have many virtual server with their own http server,
> mysql server (separate instances).
>
> is not supported by the dsn parser and by the mysql->connect() function.
You are late this time, this is implemented and documented :-)
http://pear.php.net/manual/en/core.db.tut_dsn.php
Tomas V.V.Cox