“PROTOCOL_ENQUEUE_AFTER_FATAL_ERROR” in Node-MySqL

前端 未结 3 1062
陌清茗
陌清茗 2021-01-14 12:59

Hi I am trying to write an Node + Express to provide REST services. Everything goes well when the application starts. However, after several hours, I got an error: \"code\":

3条回答
  •  轮回少年
    2021-01-14 13:48

    In my Ubuntu I found out that the database had corrupted exactly at 10:02 am from the mysql logs. Exactly at the same time this error message started. So I restarted the Ubuntu.

    After rebooting it still gave same error. Around the time when mysql server turned "ready" it started working. Maybe Mysqld took a couple of seconds to resolve crash or database corruption.

提交回复
热议问题