[Bug 548013] New: apache-mod_php5 can't find mysqld.sock
http://bugzilla.novell.com/show_bug.cgi?id=548013 User sanyi@dekom.hu added comment http://bugzilla.novell.com/show_bug.cgi?id=548013#c1 Summary: apache-mod_php5 can't find mysqld.sock Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: i586 OS/Version: openSUSE 11.2 Status: NEW Severity: Minor Priority: P5 - None Component: Apache AssignedTo: bnc-team-apache@forge.provo.novell.com ReportedBy: sanyi@dekom.hu QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.27 Safari/532.0 Today I tried to do an in place upgrade form openSuSE 11.1 to openSuSE 11.2. I followed the instrucionts from [1] and [2]. The process was flawless, thank you for that! There is a slight problem wiht the apache - mysql - php tirumvirate: According to [3] you changed the mysql.sock file location to /var/run/mysql.sock. Probably that change was not reflected in the mod_php5/php5 (compilation time?) defaults and because of that mod_php5 cannot find the mysql.sock file. Adding the correct path to /etc/php5/apache2/php.ini => mysql.default_socket part solves the problem. Maybe I am missing something, but there are no *.rpmnew or *.rpmsave files in /etc in relation to this and manually downloading and checking the configuration files in apache2-mod_php5 and mysql rpms i was not able to find my error. Yours Sincerely ----------- [1] http://en.opensuse.org/Upgrade/11.2#Implementation [2] http://lizards.opensuse.org/2009/10/01/updating-in-place-from-opensuse-11-1-... [3] http://en.opensuse.org/MySQL-5.1 Reproducible: Always Steps to Reproduce: 1.zypper dup from 11.1 to 11.2 2.try to run any php application that uses mysql 3. Actual Results: Error connecting to database. Expected Results: Successful connection. This is a 1:1 copy of a production LAMP system running in a virtual box environment; sanyi@zsuzsi:~> cat /etc/SuSE-release openSUSE 11.2 RC 1 (i586) VERSION = 11.2 sanyi@zsuzsi:~> uname -a Linux zsuzsi 2.6.31.3-1-pae #1 SMP 2009-10-08 00:27:25 +0200 i686 athlon i386 GNU/Linux sanyi@zsuzsi:~> rpm -q apache2-mod_php5 mysql apache2-mod_php5-5.3.0-1.9.i586 mysql-5.1.36-5.1.i586 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=548013
User kayohf@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=548013#c1
Kayo Hamid
participants (1)
-
bugzilla_noreply@novell.com