tencentyun / wafer-node-server-sdk

Wafer - 企业级微信小程序全栈方案
https://github.com/tencentyun/wafer
Other
133 stars 22 forks source link

连接数据库,无法执行增删改操作 #7

Open byk04712 opened 6 years ago

byk04712 commented 6 years ago

ERR_WHEN_INSERT_TO_DB: { Error: MySQL server is requesting the old and insecure pre-4.1 auth mechanism. Upgrade the user password or use the {insecureAuth: true} option.

连接数据库,在执行CRUD操作时,抛错了。需要在连接数据库的地方加上 insecureAuth: true 。