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

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學習者快速成長!