mysql ER_BAD_DB_ERROR: Unknown database 'test'

查看:1898
本文介绍了mysql ER_BAD_DB_ERROR: Unknown database 'test'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问 题

Start Logger @ server.js

debug: #### Module Status Check Hook is initialized @1 ####
debug: #### Network Check Hook is initialized @1 ####
debug: #### SystemAlarmHook is initialized @1 ####
debug: #### Temperature and Humidity Check Hook is initialized @1 ####
error: A hook (orm) failed to load!
error: Error (E_UNKNOWN) :: Encountered an unexpected error
: Could not connect to MySQL:
Error: ER_BAD_DB_ERROR: Unknown database 'test'

这个是什么问题?

解决方案

看样子问题有三种可能:

  1. 你的数据库没启动起来

  2. 你没有一个叫test的数据库

  3. 你有这个数据库,但是你使用这个叫test的数据库的时候,还没创建好

这篇关于mysql ER_BAD_DB_ERROR: Unknown database 'test'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆