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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: md5ander at hotmail dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 03 06:01:30 2024 UTC