RE: [PHP-DEV] 4.0.4

From: Date: Fri, 10 Nov 2000 15:43:27 +0000
Subject: RE: [PHP-DEV] 4.0.4
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-37693@lists.php.net to get a copy of this message
Hi Monty, Michael Widenius wrote: > >>>>> "Andi" == Andi Gutmans <andi@zend.com> writes: > > Andi> This sounds very strange. I am also sending this mail to > the MySQL guys. > Andi> Maybe they have some insight on this. > Andi> The bug URL is http://bugs.php.net/?id=7504 > Andi> At 03:33 PM 11/2/00 -0500, Mike Robinson wrote: > > >> > Are there any key issues/bugs > >> > which are open? > >> > >> #7504, mysql related. > >> > >> I removed.... > >> > >> #define MYSQL_UNIX_ADDR "/tmp/mysql.sock" > >> > >> from around line 5 or 6 in ext/mysql/libmysql/mysql_version.h, > >> recompiled, and the problem went away. Mysql support was broken > >> while that line existed. > > I don't know anything about the above. > > Mike, What was the compiler error you get while compiling? from libmysql.c:14: mysql_version.h:14:41: warning: "MYSQL_UNIX_ADDR" redefined ... In file included from mysql.h:53, from net.c:18: mysql_version.h:14:41: warning: "MYSQL_UNIX_ADDR" redefined /usr/src/php4-200010261145/php_config.h:1321:1: warning: this is the location of the previous definition ... In file included from mysql.h:53, from password.c:27: mysql_version.h:14:41: warning: "MYSQL_UNIX_ADDR" redefined /usr/src/php4-200010261145/php_config.h:1321:1: warning: this is the location of theprevious definition ... from php_mysql.c:57: /usr/src/php4-200010261145/ext/mysql/libmysql/mysql_version.h:14:41: warning: "MYSQL_UNIX_ADDR" redefined /usr/src/php4-200010261145/php_config.h:1321:1: warning: this is the location of the previous definition PHP compiled and installed, but all scripts accessing mysql stopped making connections to the server. (Redhat 7.0, MySql-3.22.30 from RPMs) This apparently has been fixed in CVS. Current snapshots work without problems, and the offending line seems to have been removed from 'ext/mysql/libmysql/mysql_version.h'. If you need more info please LMK. Regards Mike Robinson

« previous php.dev (#37693) next »