[imp] /tmp/mysql.sock issue
Oliver Schulze L.
oliver@samera.com.py
Fri, 22 Mar 2002 04:36:27 -0300
Ops,
there is already a Bug report:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=60515
Oliver
Oliver Schulze L. wrote:
> 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