Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 60731

Summary: PHP patch 4.0.6-12 breaks php-mysql
Product: [Retired] Red Hat Linux Reporter: Nathan G. Grennan <redhat-bugzilla>
Component: phpAssignee: Phil Copeland <copeland>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: high Docs Contact:
Priority: high    
Version: 7.2   
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: 2002-03-05 18:43:33 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 Nathan G. Grennan 2002-03-05 18:43:28 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8+) Gecko/20020227

Description of problem:
mysql is set to refer to mysql.sock in /var/lib/mysql(mysql's home directory).
In the past it was set to /tmp, and /tmp is the mysql default. I believe this
change was made to clean up the /tmp directory and maybe add security. After
upgrading to php-*-4.0.6-12 it again tries to refer to mysql.sock in /tmp even
though the latest redhat mysql's my.cnf refers to it in /var/lib/mysql. This
will break any website that depends on php-mysql and is using the standard
configuration. Two workarounds are to either make a symlink from
/var/lib/mysql.sock to /tmp/mysql.lock, not a great way. Another is to change
/etc/my.cnf and change the socket= line.

Version-Release number of selected component (if applicable): 4.0.6-12

How reproducible:
Always

Steps to Reproduce:
1. Upgrade to php-*-4.0.6-12
2. Go to a url that depends on php to read data out of mysql
3. See the error message about no able to find /tmp/mysql.sock
	

Actual Results:  See the error message about no able to find /tmp/mysql.sock

Expected Results:  See no error message and the page to load normally.

Additional info:

Comment 1 Phil Copeland 2002-03-05 18:49:29 UTC

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