Asked Nov 15th, 2018 8:39 AM 91 0 1
  • 91 0 1
+1

Node js kết nối mysql

Share
  • 91 0 1

Mk mới học "Client does not support authentication protocol requested by server; consider upgrading MySQL client" lỗi 1251, lsao để thay đổi plugin thành mysql_native_password v? Thank's mn!!!

1 ANSWERS


Answered Nov 15th, 2018 8:42 AM
Accepted
+1

Bạn thử cách này xem, mình vừa google được:

Execute the following query in MYSQL Workbench, try connecting using node after you do so:

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

https://stackoverflow.com/a/50131831/8069414

Share
Nhật @nhatnguyen233
Nov 15th, 2018 9:18 AM

@huukimit thank's u!!!

0
| Reply
Share