Oracle 5.0 Reference Manual page 2970

Table of Contents

Advertisement

More rarely, it can happen when the client is attempting the initial connection to the server. In this
case, if your
the problem by increasing it to ten seconds, perhaps more if you have a very long distance or slow
connection. You can determine whether you are experiencing this more uncommon cause by using
SHOW GLOBAL STATUS LIKE
connection attempt that the server aborts. You may see "reading authorization packet" as part of the
error message; if so, that also suggests that this is the solution that you need.
If the cause is none of those just described, you may be experiencing a problem with
are larger than
you may see an
increase
max_allowed_packet
C.5.2.4.
Client does not support authentication protocol
The current implementation of the authentication protocol uses a password hashing algorithm that is
incompatible with that used by older (pre-4.1) clients. Attempts to connect to a 4.1 or newer server with
an older client may fail with the following message:
shell>
mysql
Client does not support authentication protocol requested
by server; consider upgrading MySQL client
To deal with this problem, the preferred solution is to upgrade all client programs to use a 4.1.1 or
newer client library. If that is not possible, use one of the following approaches:
• To connect to the server with a pre-4.1 client program, use an account that still has a pre-4.1-style
password.
• Reset the password to pre-4.1 style for each user that needs to use a pre-4.1 client program. This
can be done using the
mysql>
SET PASSWORD FOR
->
'some_user'@'some_host' = OLD_PASSWORD('newpwd');
Substitute the password you want to use for "newpwd" in the preceding example. MySQL cannot tell
you what the original password was, so you'll need to pick a new one.
• Tell the server to use the older password hashing algorithm by default:
1. Start
mysqld
2. Assign an old-format password to each account that has had its password updated to the longer
4.1 format. You can identify these accounts with the following query:
mysql>
->
For each account record displayed by the query, use the
password using one of the methods described previously.
The
Client does not support authentication protocol
versions of MySQL are installed but client programs are dynamically linked and link to an older
library. Make sure that clients use the most recent library version with which they are compatible. The
procedure to do this will depend on your system.
Common Errors When Using MySQL Programs
[445]
connect_timeout
'Aborted_connects'. It will increase by one for each initial
max_allowed_packet
ER_NET_PACKET_TOO_LARGE
[466].
SET PASSWORD
with the
old_passwords
SELECT Host, User, Password FROM mysql.user
WHERE LENGTH(Password) > 16;
Note
The
extension does not support the authentication protocol in MySQL
mysql
4.1.1 and higher. This is true regardless of the PHP version being used. If you
wish to use the
mysql
follow one of the options discussed above for configuring MySQL to work with
value is set to only a few seconds, you may be able to resolve
[466], which can cause this error with some clients. Sometime
[2920]
error, and that confirms that you need to
statement and the
OLD_PASSWORD()
[480]
system variable set to 1.
extension with MySQL 4.1 or newer, you may need to
2950
BLOB
[956]
and
values and assign a
Host
User
error also can occur if multiple
values that
function:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents