A hook (`orm`) failed to load!
发布日期:2022-03-12 04:49:22 浏览次数:47 分类:技术文章

本文共 609 字,大约阅读时间需要 2 分钟。

启动sails时报错:

error: A hook (`orm`) failed to load!error: Could not tear down the ORM hook.  Error details: Error: Consistency violation: Attempting to tear down a datastore (`default`) which is not currently registered with this adapter.  This is usually due to a race condition in userland code (e.g. attempting to tear down the same ORM instance more than once), or it could be due to a bug in this adapter.  (If you get stumped, reach out at http://sailsjs.com/support.)

原因:数据库服务关闭了,sails连接不上数据库。

解决:重启数据库服务“ windows + R "-->" services.msc "找到数据库服务” 启动 “。

转载于:https://www.cnblogs.com/fiy-noob/p/9237473.html

转载地址:https://blog.csdn.net/weixin_30348519/article/details/98130146 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:属性选择器
下一篇:oozie 启动过程中--- Existing PID file found during start. Removing/clearing stale PID file.

发表评论

最新留言

网站不错 人气很旺了 加油
[***.192.178.218]2024年04月24日 17时38分17秒

关于作者

    喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!

推荐文章