Bug 19999 - Permissions on /var/lib/mysql must be changed for php function mysql_connect() to work
Permissions on /var/lib/mysql must be changed for php function mysql_connect(...
Status: CLOSED DUPLICATE of bug 17432
Product: Red Hat Linux
Classification: Retired
Component: mysql (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Patrick Macdonald
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2000-10-29 12:49 EST by Need Real Name
Modified: 2013-03-11 02:34 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-10-29 12:49:53 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
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-10-29 12:49:50 EST
When trying to connect to the mysql server via php, the php shows 
following error:
Warning: MySQL Connection Failed: Can't connect to local MySQL server 
through socket '/var/lib/mysql/mysql.sock' (111) 
in /var/www/html/positions/drawpositions.php on line 9

This is due to permissons to the /var/lib/mysql directory. Should be 
changed in the installation script.
Comment 1 Trond Eivind Glomsrxd 2000-10-29 22:36:09 EST

*** This bug has been marked as a duplicate of 17432 ***

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