This database engine version is not supported, please update your database server.

来源:3-4 API具体实现

慕娘2204145

2020-09-18 15:01

NODE版本 10.17.0

mysql版本 5.5


node:15100) [SEQUELIZE0006] DeprecationWarning: This database engine version is not 

supported, please update your database server. More information https://github.com/sequelize/sequelize/blob/master/ENGINE.md

Executing (default): INSERT INTO `Todos` (`id`,`name`,`deadline`,`content`,`createdAt`,`updatedAt`) VALUES (DEFAULT,?,?,?,?,?);

(node:15100) UnhandledPromiseRejectionWarning: ReferenceError: err is not defined

    at app.post (C:\WORK\test\express\src\app.js:41:14)

    at process._tickCallback (internal/process/next_tick.js:68:7)

(node:15100) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)       

(node:15100) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js 

process with a non-zero exit code.


写回答 关注

1回答

  • 慕慕9986984
    2021-02-25 21:30:27

    这个也不清楚

Nodejs全栈入门

基于node+mysql+react全栈实战

26594 学习 · 88 问题

查看课程