#23589 [Opn->WFx]: Authentication (mysql_connect) failed.

From: Date: Mon, 12 May 2003 10:33:23 +0000
Subject: #23589 [Opn->WFx]: Authentication (mysql_connect) failed.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39477@lists.php.net to get a copy of this message
ID: 23589 Updated by: georg@php.net Reported By: md5ander at hotmail dot com -Status: Open +Status: Wont fix Bug Type: MySQL related Operating System: Windows 2000 PHP Version: 4.3.2RC2 New Comment: If you need MySQL 4.1 alpha, compile PHP yourself. There is no sense to bundle 4.1 libs in it's current state or provide them in binary distribution. It will be added when MySQL 4.1 becomes stable. If you need full MySQL 4.1 API functionality use the ext/mysqli extension from php5. I will add ext/mysqli within the next days for PHP4 too (without OO-functions). Previous Comments: ------------------------------------------------------------------------ [2003-05-12 03:53:03] md5ander at hotmail dot com When i use the latest phpMyAdmin 2.5.0 together with MySQL 4.1.0-alpha and php 4.3.2-RC2 i got the responce that the authentication failed, and that the main cause was that php used the old client library. Mysql says on their page about how to upgrade from 3.23.x to 4.x: ---- Text from mysql pages ---- Ensure that you don't have any MySQL clients that uses shared libraries (like the Perl DBD-mysql). If you have, you should recompile them as structures used in `libmysqlclient.so' have changed. The same applies for Python MySQLdb. Upgrading to 4.0 MySQL may not be possible if you run PHP, Perl or MyODBC.... At this time, most rpm's and packages have a dependency on libmysqlclient.so.10, instead of libmysqlclient.so or libmysqlclient.so.12. This does not occur in every case since the linkage process differs with different build strategies. ---- End of text from mysql pages ---- Any chance of precomiled binaries for windows that includes the new mysql lib?? Or perhaps a second mysql module where functions are named mysql4_xxxxx insted of mysql_xxxxx ?? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23589&edit=1

« previous php.bugs (#39477) next »