ID:               7861
 Comment by:       saman_bayat2000 at yahoo dot com
 Reported By:      jerome dot ponsin at trader dot com
 Status:           Closed
 Bug Type:         MySQL related
 Operating System: Linux Redhat 7
 PHP Version:      4.0.3pl1
 New Comment:

hello


Previous Comments:
------------------------------------------------------------------------

[2000-11-17 06:14:20] jerome dot ponsin at trader dot com

The directory mysql (/var/lib/mysql) hadn't the good
right for the apache owner even if the mysql.sock had !

Sorry,
Jerome

------------------------------------------------------------------------

[2000-11-17 05:25:27] jerome dot ponsin at trader dot com

Warning: MySQL Connection Failed: Can't connect to local MySQL server
through socket '/var/lib/mysql/mysql.sock' (111) 

Mysql is running well and the /var/lib/mysql/mysql.sock
is here (also written in the mysql logfile)

When compiling php the sock appears well also :
/var/lib/mysql/mysql.sock (and not /tmp/mysql.sock)

I don't understand what could be wrong ?

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=7861&edit=1

Reply via email to