Bug #7662: mysql_connect() failure

From: Date: Mon, 06 Nov 2000 14:17:57 +0000
Subject: Bug #7662: mysql_connect() failure
Groups: php.dev 
Request: Send a blank email to php-dev+get-37268@lists.php.net to get a copy of this message
From: mail@thomas-schuering.de Operating system: Win9x,NT,Win2K PHP version: 3.0.17 PHP Bug Type: MySQL related Bug description: mysql_connect() failure As some others I got some "Fatal error: Call to unsupported or undefined function mysql_connect() in f:\html\test.php3 on line ..." First I thought of a bug in PHP - then I took the time to get the mysql-3.23.27-beta sources and php-3.0.17 and gave it a try. At the point I compiled php3_mysql.dll to it complained about "unresolved external: mysql_change_user". The appropiate entry in libmysql.def (project libmysql) was missing. I added it, repeated all necessary steps and created php3_mysql once again: NOW the linking was succesfull and guess what: the new php3_mysql.dll works!! (No more fatal error.) Looks like the libmysql.lib and / or libmysql in the win32build.zip package doesn't fit. Hope it help's.

« previous php.dev (#37268) next »