#23252 [Bgs]: Incorrect MySQL client version compiled in PHP

From: Date: Thu, 17 Apr 2003 08:02:04 +0000
Subject: #23252 [Bgs]: Incorrect MySQL client version compiled in PHP
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37794@lists.php.net to get a copy of this message
ID: 23252 Updated by: georg@php.net Reported By: j dot katarski at ecu dot edu dot au Status: Bogus Bug Type: MySQL related Operating System: Windows XP SP1 PHP Version: 4.3.2RC1 New Comment: Works fine here [tm] Please check your client version , with echo mysql_get_client_info(). Previous Comments: ------------------------------------------------------------------------ [2003-04-17 02:03:22] magnus@php.net MySQL 4.1 won't be supported in 4.3. PHP5 snapshots have an extension called mysqli which is for MySQL 4.1 functions (mysqli_*). ------------------------------------------------------------------------ [2003-04-17 00:54:45] j dot katarski at ecu dot edu dot au Using a MySQL 4.1 database, it's as simple as: <? $conn = mysql_connect(); ?> This is will immediately fail with: 1249 - Client does not support authentication protocol requested by server. Consider upgrading MySQL client This is a problem with a lot of applications, I believe due to changes with mysqllib.dll. The solution for a MySQL driver I use, was to recompile, using the new MySQL headers and new mysqllib.dll ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23252&edit=1

« previous php.bugs (#37794) next »