mysql ER_BAD_DB_ERROR: Unknown database ’test’
問題描述
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’
這個(gè)是什么問題?
問題解答
回答1:看樣子問題有三種可能:
你的數(shù)據(jù)庫沒啟動(dòng)起來
你沒有一個(gè)叫test的數(shù)據(jù)庫
你有這個(gè)數(shù)據(jù)庫,但是你使用這個(gè)叫test的數(shù)據(jù)庫的時(shí)候,還沒創(chuàng)建好
回答2:show databases 看下
相關(guān)文章:
1. nignx - docker內(nèi)nginx 80端口被占用2. docker - 如何修改運(yùn)行中容器的配置3. python3.x - python連oanda的模擬交易api獲取json問題第五問4. node.js - 我是一個(gè)做前端的,求教如何學(xué)習(xí)vue,node等js引擎?5. 關(guān)于docker下的nginx壓力測(cè)試6. docker-machine添加一個(gè)已有的docker主機(jī)問題7. javascript - js代碼獲取驗(yàn)證碼倒計(jì)時(shí)問題8. java - SSH框架中寫分頁時(shí)service層中不能注入分頁類9. html5 - 百度echart官網(wǎng)下載的地圖json數(shù)據(jù)亂碼10. 為什么我ping不通我的docker容器呢???
