|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-04-17 00:54 UTC] 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
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 06:00:01 2025 UTC |
<? echo mysql_get_client_info(); $conn = mysql_connect("server.with.mysql4.1", "username", "password"); ?> Returns the following information: 3.23.49<br /> <b>Warning</b>: mysql_connect() [<a href='http://www.php.net/function.mysql-con nect'>function.mysql-connect</a>]: Client does not support authentication protoc ol requested by server. Consider upgrading MySQL client in <b>my php filename</b> on line <b>3</b><br /> It was outlined earlier that PHP4 will *NOT* support MySQL 4.1.