mysql ER_BAD_DB_ERROR: Unknown database 'test'
大家讲道理
大家讲道理 2017-04-17 14:51:58
0
2
657

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'

这个是什么问题?

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

全部回复(2)
Ty80

看样子问题有三种可能:

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

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

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

Peter_Zhu

show databases 看下

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责声明 Sitemap
PHP中文网:公益在线PHP培训,帮助PHP学习者快速成长!