php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7861 mysql.sock error
Submitted: 2000-11-17 05:25 UTC Modified: 2000-11-17 06:14 UTC
From: jerome dot ponsin at trader dot com Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.0.3pl1 OS: Linux Redhat 7
Private report: No CVE-ID: None
 [2000-11-17 05:25 UTC] 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 ?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-17 06:14 UTC] 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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 21:01:34 2024 UTC