Bug #7662 Updated: mysql_connect() failure

From: Date: Sun, 16 Jun 2002 12:22:17 +0000
Subject: Bug #7662 Updated: mysql_connect() failure
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10589@lists.php.net to get a copy of this message
ID: 7662 Updated by: sander@php.net Reported By: mail@thomas-schuering.de -Status: Open +Status: Bogus Bug Type: MySQL related Operating System: Win9x,NT,Win2K PHP Version: 3.0.17 New Comment: Thank you for taking the time to report a problem with PHP. Unfortunately, PHP 3 is no longer supported. Please download the latest version of PHP 4 from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. Previous Comments: ------------------------------------------------------------------------ [2000-11-06 09:17:57] mail@thomas-schuering.de 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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=7662&edit=1

« previous php.bugs (#10589) next »