解决方案

使用可视化数据库管理工具操作

UnhandledPromiseRejectionWarning: SequelizeConnectionError: Client does not support authentication protocol requested by server; consider upgrading MySQL client


2. 把加密方式改为mysql_

UnhandledPromiseRejectionWarning: SequelizeConnectionError: Client does not support authentication protocol requested by server; consider upgrading MySQL client

SQL

ALTER USER `nowadmin`@`localhost` IDENTIFIED WITH mysql_native_password;

nowadmin 替换成操作目标数据的用户名,
这里最好不使用root用户 创建一个新的用户使用Sequelize操作

相关文章:

  • 2022-12-23
  • 2021-05-31
  • 2022-12-23
  • 2021-06-23
  • 2021-11-09
  • 2022-12-23
  • 2021-05-17
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-04
  • 2022-12-23
  • 2022-12-23
  • 2022-01-21
相关资源
相似解决方案