Open byk04712 opened 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 。
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 。