文章詳情頁
mysql ER_BAD_DB_ERROR: Unknown database ’test’
瀏覽:98日期: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. 在應用配置文件 app.php 中找不到’route_check_cache’配置項2. html按鍵開關如何提交我想需要的值到數據庫3. mysql取模分表與分表4. HTML 5輸入框只能輸入漢字、字母、數字、標點符號?正則如何寫?5. gvim - 誰有vim里CSS的Indent文件, 能縮進@media里面的6. dockerfile - 我用docker build的時候出現下邊問題 麻煩幫我看一下7. 跟著課件一模一樣的操作使用tp6,出現了錯誤8. PHP類屬性聲明?9. objective-c - ios 怎么實現微信聯系列表 最好是swift10. javascript - 請教如何獲取百度貼吧新增的兩個加密參數
排行榜
