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

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'

这个是什么问题?

大家讲道理
大家讲道理

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

membalas semua(2)
Ty80

看样子问题有三种可能:

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

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

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

Peter_Zhu

show databases 看下

Muat turun terkini
Lagi>
kesan web
Kod sumber laman web
Bahan laman web
Templat hujung hadapan
Tentang kita Penafian Sitemap
Laman web PHP Cina:Latihan PHP dalam talian kebajikan awam,Bantu pelajar PHP berkembang dengan cepat!