From: [EMAIL PROTECTED] Operating system: Linux 2.4 PHP version: 4.3.0RC3 PHP Bug Type: Pspell related Bug description: Pspell breaks connecting to mysql using localhost
Here is my configure line: ./configure --with-mysql=/usr/local/mysql \ --with-pspell \ --with-xml \ --with-apxs2=/usr/local/apache2/bin/apxs \ --enable-track-vars \ --with-gd \ --with-freetype-dir=/usr \ --enable-gd-native-ttf \ --enable-gd-imgstrttf \ --with-jpeg-dir=/usr \ --with-png-dir=/usr \ --with-zlib The perpetrating line is : mysql_connect("localhost", "root", "xxxxx"); // this is NOT my server password On the other hand if I change the line to: mysql_connect("66.139.73.7", "root", "xxxxx"); The error message is: Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/melwakil/web/QueryClass.php on line 9 After doing a make distclean and reinstalling php without with-pspell on the command line, it connects fine. -- Edit bug report at http://bugs.php.net/?id=21088&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21088&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21088&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21088&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21088&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21088&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21088&r=support Expected behavior: http://bugs.php.net/fix.php?id=21088&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21088&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21088&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21088&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21088&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21088&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21088&r=isapi