文章詳情頁
mysql ER_BAD_DB_ERROR: Unknown database ’test’
瀏覽:80日期:2022-06-21 13:39:24
問題描述
Start Logger @ server.jsdebug: #### 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:看樣子問題有三種可能:
你的數(shù)據(jù)庫沒啟動起來
你沒有一個叫test的數(shù)據(jù)庫
你有這個數(shù)據(jù)庫,但是你使用這個叫test的數(shù)據(jù)庫的時候,還沒創(chuàng)建好
回答2:show databases 看下
相關(guān)文章:
1. python 利用subprocess庫調(diào)用mplayer時發(fā)生錯誤2. python文檔怎么查看?3. python - Pycharm的Debug用不了4. javascript - 關(guān)于apply()與call()的問題5. datetime - Python如何獲取當(dāng)前時間6. javascript - nginx反向代理靜態(tài)資源403錯誤?7. html - eclipse 標(biāo)簽錯誤8. 請問PHPstudy中的數(shù)據(jù)庫如何創(chuàng)建索引9. 安全性測試 - nodejs中如何防m(xù)ySQL注入10. python - pycharm 自動刪除行尾空格
排行榜

熱門標(biāo)簽