ID:               50231
 Updated by:       j...@php.net
 Reported By:      foutrelis at gmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         MySQL related
 Operating System: Arch Linux
 PHP Version:      5.3.0
 New Comment:

Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/




Previous Comments:
------------------------------------------------------------------------

[2009-11-19 14:55:14] foutrelis at gmail dot com

Description:
------------
Looking at ext/mysql/config.m4, it seems to me that the path specified
during the ./configure step using the --with-mysql-sock option gets
ignored and PHP_MYSQL_UNIX_SOCK_ADDR isn't defined accordingly. This
causes mysqlnd to always use its default socket path (/tmp/mysql.sock).

I wrote a patch [1] to move the related code in its own if clause so
that it gets executed regardless of whether mysqlnd or libmysqlclient is
used. However, I was unable to test it because I'm not sure how to
regenerate the configure script (I tried with autoreconf but the
produced configure script freaked out; something about confdefs.h
missing).

Let me know if you need any more information from me.

----
[1] http://bugs.archlinux.org/task/17179?getfile=4423



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=50231&edit=1

Reply via email to