Re: current "stable" state for connection with unix socket
| From: | Pierre-Alain Joye | Date: | Fri, 18 Jan 2002 13:51:39 +0000 |
| Subject: | Re: current "stable" state for connection with unix socket | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-670@lists.php.net to get a copy of this message | ||
Thx for the quick answer :)
On 18 Jan 2002 14:45:51 +0100
"Tomas V.V.Cox" <cox@idecnet.com> wrote:
> Sorry I haven't had time to make the proper announce about this topic or
> document it. The DSN format supports now a new format more flexible than
> the old one. This is:
>
> driver(syntax)://user:password@protocol(proto_opts)/database
>
> In the mysql case for connecting with sockets use:
>
> mysql://user:pass@unix(/path/to/socket)/db
>
> Also the new format supports now non standar ports for the mysql driver:
>
> mysql://user:pass@tcp(localhost:5555)/db
So I have to upgrade to the latest cvs, isn it ? Or is there already a socket
syntax on the 12/30/2002 version ?
I need only to use one socket, just a question of time available to validate the
production scripts :), I don't like to run after bugs ;).
In any case I will upgrade for all upcoming projects, as usual :)
pa