[imp] /tmp/mysql.sock issue

Oliver Schulze L. oliver@samera.com.py
Fri, 22 Mar 2002 03:08:46 -0300


Thanks for the answers.

I will follow Max solution and post a bugzilla entry in redhat.
This setup(/etc/php.ini) was not necesary in RH7.1, so I think it is a minor
misconfiguration between PHP and MySQL version that RedHat ships in 7.2.

Thanks
Oliver

Max Kalika wrote:

>Quoting "Oliver Schulze L." <oliver@samera.com.py>:
>
>>I don't know why PHP choose to comunicate with MySQL via this
>>file socket that does not exist:
>>/tmp/mysql.sock
>>and not via this file socket that does exist:
>>/var/lib/mysql/mysql.sock
>>
>
>Because that is how your php is configured.  Edit your php.ini and set 
>
>mysql.default_socket = /var/lib/mysql/mysql.sock
>
>Don't forget to restart the web server after making a change to php.ini.
>

-- 
Oliver Schulze L.
oliver@samera.com.py
Asuncion-Paraguay