Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client vs code

A possible workaround is to alter the type of user account to use the old authentication plugin:

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'MyNewPass';

Or create a different one that uses that same plugin:

CREATE USER 'foo'@'localhost' IDENTIFIED WITH mysql_native_password BY 'bar';
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Client #support #authentication #protocol #requested #upgrading #MySQL #client #code
ADD COMMENT
Topic
Name
5+7 =