Re: current "stable" state for connection with unix socket
| From: | Tomas V.V.Cox | Date: | Fri, 18 Jan 2002 14:11:34 +0000 |
| Subject: | Re: current "stable" state for connection with unix socket | ||
| References: | 1 2 3 | Groups: | php.pear.dev php.pear.general |
| Request: | Send a blank email to pear-general+get-671@lists.php.net to get a copy of this message | ||
El vie, 18-01-2002 a las 14:51, Pierre-Alain Joye escribió:
> 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 ?
Yes, I added that one week ago.
> 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 ;).
There is no known bugs in the mysql driver, so it shouldn't be a
problem. BTW, you know where we are if you have some trouble :-)
Tomas V.V.Cox