星客空间

Home Archives
2020-06-25

mysql8 修改用户密码登陆模式

修改mysql 密码登陆模式—mysql_native_password

在node.js 中报错如下:

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

1
2
3
use mysql;
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password'
flush privileges;
Share
  • mysql
« 上一页1…1314151617…34下一页 »

标签

  • aws
  • css
  • docker
  • docker-compose
  • electron
  • es6
  • ffmpeg
  • hexo
  • html
  • javascript
  • linux
  • lnmp
  • markdown
  • module
  • mysql
  • nginx
  • node
  • nodejs
  • openresty
  • paypal
  • person
  • php
  • react
  • react-hook
  • react-render
  • s3
  • ts
  • tsconfig
  • typescript
  • vscode
  • webpack
  • 垂直居中

标签云

aws css docker docker-compose electron es6 ffmpeg hexo html javascript linux lnmp markdown module mysql nginx node nodejs openresty paypal person php react react-hook react-render s3 ts tsconfig typescript vscode webpack 垂直居中

归档

  • 十月 2022
  • 十月 2020
  • 九月 2020
  • 七月 2020
  • 六月 2020
  • 五月 2020
  • 四月 2020

最新文章

  • Hello World
  • js原型链及继承
  • node 12基本介绍(二)
  • node 12基本介绍(-)
  • webpack基本使用
© 2022 xingke
Powered by Hexo githubwu@163.com
Home Archives