Matt,
Wednesday, September 04, 2002, 12:43:51 AM, you wrote:

MTW> On Tue, 2002-09-03 at 05:24, Victoria Reznichenko wrote:
>> MTW> I just installed MySQL from RPM and can connect to it via shell using
>> MTW> the MySQL command, but I can't get anything else to connect to it.  
>> MTW> MySQL Connection Failed: Can't connect to local MySQL server through
>> MTW> socket '/tmp/mysql.sock' (2)
>> Check if MySQL server is running. If so, find where mysql.sock is
>> located (/var/lib/mysql ?) and specify path to the socket for the
>> client. Or you can also create a symlink.

MTW> Mysql.sock is located at:
MTW> /var/lib/mysql/mysql.sock
MTW> and I've ne'er had to change this in php before, and see no place to
MTW> enter that info in php.ini... any other thoughts?

1. Check [MySQL] section of the php.ini, you can find
mysql.default_socket here.

2. You can specify another path to the socket file for the MySQL
server with --socket=# mysqld option.

3. You can just create a symbolic link




-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




---------------------------------------------------------------------
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

Reply via email to