Bug 22397 - mysql.sock php apache
mysql.sock php apache
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: mysql (Show other bugs)
7.0
i386 Linux
high Severity high
: ---
: ---
Assigned To: Patrick Macdonald
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-12-17 00:29 EST by Need Real Name
Modified: 2005-10-31 17:00 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-01-08 18:51:22 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2000-12-17 00:29:25 EST
Dear support,

I ran the bug fix rpm for mysql (mysql (RHBA-2000:067-03) ). That was 
suppose to fix the mysql packages shipped with Red Hat Linux 7.0 don't 
allow users to access the socket, causing the package to work for 
users "root" and "mysql" only. Well php and apache will not talk to the 
mysql.socket I tried to tell them where the socket was in my.cnf and 
mysqld restarting in and infinite loop. Do you have any ideas. 


Can't connect to local MySQL server through 
socket '/var/lib/mysql/mysql.sock' (111)
Comment 1 Trond Eivind Glomsrxd 2000-12-18 00:22:48 EST
What's the permissions on /var/lib/mysql?
Comment 2 Trond Eivind Glomsrxd 2001-01-08 15:02:56 EST
ping?
Comment 3 Need Real Name 2001-01-08 18:50:27 EST
Yes I ping mysql. That is how I knew it did not see the sock file. I do not 
know what the perms our any more becuase I wipe the install out but it is what 
ever perms you get from runing the rpm as root.
Comment 4 Need Real Name 2001-01-08 18:50:59 EST
Yes I ping mysql. That is how I knew it did not see the sock file. I do not 
know what the perms our any more becuase I wipe the install out but it is what 
ever perms you get from runing the rpm as root.
Comment 5 Trond Eivind Glomsrxd 2001-01-12 14:31:22 EST
The permissions should be fixed by the errata RPMS, but to make absolutely sure
I've now added an explicit chmod to the post script in 3.23.30-1

Note You need to log in before you can comment on or make changes to this bug.