Bug 19999

Summary: Permissions on /var/lib/mysql must be changed for php function mysql_connect() to work
Product: [Retired] Red Hat Linux Reporter: Need Real Name <mini-hansen>
Component: mysqlAssignee: Patrick Macdonald <patrickm>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-10-29 17:49:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Need Real Name 2000-10-29 17:49:50 UTC
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-30 03:36:09 UTC

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