Re: mysql->connect unix socket and host:port feature
| From: | Pierre-Alain Joye | Date: | Sat, 09 Feb 2002 22:54:32 +0000 |
| Subject: | Re: mysql->connect unix socket and host:port feature | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-4521@lists.php.net to get a copy of this message | ||
On Sat, 9 Feb 2002 16:29:06 -0600
Paul DuBois <paul@snake.net> wrote:
> Why is this a problem?
Because the mysql host where I have to install my apps does not accept
connection except with this way (socket + host).
> You can only use a socket for localhost.
Sure.
> If you specify a host name (even the FQDN of the local host) you
> have to use a TCP/IP connection.
I don t have any control (for this time, but hope to change it soon, by
accessing configuration of this f... server).
> If the parameters are specified as you indicate below, the intent
> is ambiguous. The connection code has to resolve it one way or
> the other, and it just happens to resolve it in the way that makes
> most sense according to the MySQL documentation.
Absolutly true.
It s the 1st time I see a config like that. It s why I said "if you consider
this rare case not important".
> Exactly. And that's correct.
Sure and it s what I told to the admin. But no way..., anyway I just made a
patch in the local pear installation. But I don t like that because the core is
not standard.
I m not a pro of system administration :), anyway I quit sure now it s not a std
and fullfeatured configuration overthere (with your comments), so I ll go back
to make them change the config.
thanks for your comments,
pa