ID: 16460 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: MySQL related Operating System: Slackware PHP Version: 4.0.6 New Comment:
i've menaged somehow the problem by not entering the path to mysql when configuring - only --with-mysql - wihout the path. after that php show no errors when connecting to mysql Previous Comments: ------------------------------------------------------------------------ [2002-04-06 07:11:45] [EMAIL PROTECTED] i have a slackware server with apache 1.3.20 and mysql 3.23.39 with php 4.0.6 and it works perfect. but when i tried to install thew new version of php - 4.1.2 some problems ocurred. first of all it configures and compiles correct - with no errors. with phpinfo() everything is correct - it finds the mysql.sock file in the correct place - /tmp/mysql.sock as a link to var/run/mysql/mysql.sock. so with php4.0.6 mysql connections works fine but after upgrading to php4.1.2 can't connect anymore, dies with that error : Can't connect to local MySQL server through socket '/tmp/mysql.sock' (40) so i guess it's something different in the mysql support in the new php version but couldn't find anything related in the documentation. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16460&edit=1