美文网首页
node链接MySQL报错

node链接MySQL报错

作者: undefined404 | 来源:发表于2019-03-29 10:59 被阅读0次

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

    解决方案:

    切换到mysql数据库

    1.alter user 'root'@'localhost' identified with mysql_native_password by '123456';

    控制台输出信息:Query OK, 0 rows affected (0.10 sec)

    2.flush privileges;

    控制台输出信息:Query OK, 0 rows affected (0.01 sec)

    即可重新登录。

    参考来源:https://blog.csdn.net/u012965373/article/details/81206241

    相关文章

      网友评论

          本文标题:node链接MySQL报错

          本文链接:https://www.haomeiwen.com/subject/sjakbqtx.html