Bug #16116 Updated: MYSQL_UNIX_ADDR
| From: | php-bugs at lists dot php dot net | Date: | Fri, 21 Jun 2002 05:00:07 +0000 |
| Subject: | Bug #16116 Updated: MYSQL_UNIX_ADDR | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-11634@lists.php.net to get a copy of this message | ||
ID: 16116
Updated by: php-bugs@lists.php.net
Reported By: photon@comcast.net
-Status: Feedback
+Status: No Feedback
Bug Type: MySQL related
Operating System: Linux
PHP Version: 4.1.2
New Comment:
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
Previous Comments:
------------------------------------------------------------------------
[2002-04-01 15:52:32] sniper@php.net
reclassified
------------------------------------------------------------------------
[2002-04-01 15:52:08] sniper@php.net
IIRC, this was fixed in CVS a long time ago. Could you
please try the PHP 4.2.0RC1 from: http://www.php.net/~derick/ and if
that doesn't work either,
test the latest CVS snapshot from http://snaps.php.net/
------------------------------------------------------------------------
[2002-03-16 16:43:45] photon@comcast.net
If you compile mysql with a specific .sock location, and then compile
php with your local mysql libraries, php tries to redefine
MYSQL_UNIX_ADDR. The problem lies in php_config.h.
Basically,
#define MYSQL_UNIX_ADDR "/var/run/mysql/mysql.sock"
(that path probably isn't right, I already changed it on mine)
should be
#ifndef MYSQL_UNIX_ADDR
#define MYSQL_UNIX_ADDR "/var/run/mysql/mysql.sock"
#endif
But I don't know how to fix whatever needs to be fixed so that this
php_config.h, which seems to be a generated file, is generated like
that.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16116&edit=1