Skip to content

Instantly share code, notes, and snippets.

@SrShark
Last active April 8, 2020 15:20
Show Gist options
  • Save SrShark/cb9f988515d0cae42990d1cf7fb028ab to your computer and use it in GitHub Desktop.
Save SrShark/cb9f988515d0cae42990d1cf7fb028ab to your computer and use it in GitHub Desktop.
MySQL 8.0 - Client does not support authentication protocol requested by server; consider upgrading MySQL client

Ejecutar la siguiente query en MySQL.

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password'

Donde root es el usuario y localhost el host o la URL/IP; y password es la contraseña.

Después de correr el query hay que refrescar los privilegios:

flush privileges;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment