This site uses cookies own and third. If you continue to browse consider to accept the use of cookies. OK More Info.

Error ER_NOT_SUPPORTED_AUTH_MODE

  • 0 Replies
  • 876 Views

0 Members and 1 Guest are viewing this topic.

Offline Maxwell.H

  • *
  • Underc0der
  • Posts: 3
  • Actividad:
    0%
  • Country: ar
  • Reputación 2
  • Web Developer
    • View Profile

Error ER_NOT_SUPPORTED_AUTH_MODE

  • on: October 23, 2021, 12:05:28 am
You are not allowed to view links. Register or Login

Este error nos aparece cuando queremos conectarnos a una base de datos MySQL desde NodeJS

la solución a este error es escribir en el administrador de base de datos para que admita métodos antiguos de autentificación

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

root =  a tu usuario en caso de que lo hayas cambiado
password =  tu password
« Last Edit: October 23, 2021, 12:51:43 am by AXCESS »