Posted by Colin McKinnon on 08/30/06 20:19
Michal Stankoviansky wrote:
> We have 2 mysql socket related settings in php.ini:
>
> mysql.default_socket = /var/run/mysql/mysql.sock
> mysqli.default_socket = /var/run/mysql/mysql.sock
>
<snip>
>
> But still, the output of phpinfo() contains the following lines in
> mysql and mysqli sections, respectively:
>
> MYSQL_SOCKET /tmp/mysql.sock
> MYSQLI_SOCKET /tmp/mysql.sock
>
Have you checked /etc/my.cnf? The environment vars?
HTH
C.
Navigation:
[Reply to this message]
|