Hi,

> 
> Have you set the socket parameter in both php.ini files, cli and apache2 ?
> 
Yes ... but perhaps I did a mistake.

In what section die you add it...
in [PHP]?

I added a section PDO with all syntax forms to be sure:

[PDO]
PDO.mysql.default_socket = /var/run/mysql/mysql.sock
pdo_mysql.default_socket =/var/run/mysql/mysql.sock

[pdo_mysql]
PDO.mysql.default_socket = /var/run/mysql/mysql.sock
pdo_mysql.default_socket =/var/run/mysql/mysql.sock



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

Oh yes in my my.cnf there are only /var/run/mysql/mysql.sock,
I checked this.

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

Anton
-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

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