文章詳情頁
mysql ER_BAD_DB_ERROR: Unknown database ’test’
瀏覽:50日期: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:看樣子問題有三種可能:
你的數據庫沒啟動起來
你沒有一個叫test的數據庫
你有這個數據庫,但是你使用這個叫test的數據庫的時候,還沒創建好
回答2:show databases 看下
相關文章:
1. android-studio - Android Studio 運行項目的時候一堆警告,跑步起來!?2. dockerfile - [docker build image失敗- npm install]3. mysql - 新浪微博中的關注功能是如何設計表結構的?4. angular.js使用$resource服務把數據存入mongodb的問題。5. 如何解決Centos下Docker服務啟動無響應,且輸入docker命令無響應?6. angular.js - 關于$apply()7. MySQL數據庫中文亂碼的原因8. 表單提交驗證,沒反應,求老師指點9. nignx - docker內nginx 80端口被占用10. angular.js - Ionic 集成crosswalk后生成的apk在android4.4.2上安裝失敗???
排行榜
