On Wed, 7 Feb 2001, Carsten H. Pedersen wrote:
> ...but in this case, it means that PHP is trying
> to connect not through TCP/IP as other remote
> machines, but rather through a UNIX socket located
> on the machine as you have described above.
>
> It probably means that
> 1) PHP expects to find the socket file as it says
> 2) your new version of MySQL creates the socket file
> somewhere else.
>
> Alternatively, try connecting from PHP specifying
> the host name rather than localhost. This will
> force PHP to use TCP/IP rather than the socket
> file (at the cost of some performance loss)
Ah, many thanks. That worked.
--
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML EMAIL
/ \ AND POSTINGS
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php