Hi, 

Have you set the socket parameter in both php.ini files, cli and apache2 ?

My installation (openSUSE 11.3, PHP 5.3.2, MySQL 5.1.46) went fine, even
though I have set "socket = /var/run/mysql/mysql.sock" in /etc/my.cnf and my
PDO parameters in php.ini are set to default (empty).
Did you check my.cnf ?

Cheers
Ralf

>> Well that's PHP PDO related - you need to point PDO where your MySQL 
>> socket can be found. E.g. by editing the php.ini and then restarting the 
>> webserver.
>> 
>> 
>> http://stackoverflow.com/questions/1435445/error-on-creating-conne
>> ction-to-pdo-in-php
> 
> 
> Unfortunately I don't get it work since I am 
> using php 5.3.3.
> 
> I suppose its related to:
> 
> "php.ini directive pdo_mysql.default_socket is ignored"
> 
> see: http://bugs.php.net/bug.php?id=50829



------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to