MYSQL4 Installing Client Does Not Support Authentication Protocol Requested Problem Solution

xiaoxiao2021-03-06  46

MYSQL4 Installing Client Does Not Support Authentication Protocol Requested Problem Solution

Today, I upgraded a MySQL database, and the following error occurred: Client Does Not Support Authentication Protocol Requester; Consider Upgrading MySQL Client

Upgrade to version 4.1.7: [root @ Eygle GBOOK] # mysql -uroot -p -heygleEnter Password: Welcome to the mysql monitor. Commands end with; or /g.Your mysql connection ID is 44 to Server Version: 4.1.7 -max

Type 'help;' or '/ h' for help. Type '/ c' to clear the buffer.

MySQL>

Query it, discovery the solution in the official website: http://dev.mysql.com/doc/mysql/en/old_client.html

A total of two solutions:

One:

MySQL> Set Password for-> 'Some_User' @ 'Some_Host' = Old_Password ('newpwd');

two:

MySQL> update mysql.user set password = Old_password ('newpwd') -> where host = 'some_host' and user = 'some_user'; mysql> flush privilege

This problem is solved using the second method.

转载请注明原文地址:https://www.9cbs.com/read-79210.html

New Post(0)