php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23589 Authentication (mysql_connect) failed.
Submitted: 2003-05-12 03:53 UTC Modified: 2003-05-12 05:33 UTC
From: md5ander at hotmail dot com Assigned:
Status: Wont fix Package: MySQL related
PHP Version: 4.3.2RC2 OS: Windows 2000
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2003-05-12 03:53 UTC] 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 ??

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-12 05:33 UTC] georg@php.net
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).
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Sep 28 06:03:37 2021 UTC