文章详情页
mysql ER_BAD_DB_ERROR: Unknown database ’test’
浏览:179日期: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. pdo_mysql 值自增写法2. javascript - html5多个label中其中一个触发change,如何判断是哪一个出发了change3. android-studio - android app微信登录一定要申请了登录权限才能测试?4. mysql按照时间热度排序5. 使用weex扩展html5的项目存在ios不同版本的兼容性6. sublime-text - sublime text 3中编译python(sublimeREPL),如何仅运行单行/选定部分7. mysql - phpMyAdmin无法导入数据8. 网页爬虫 - python爬虫用BeautifulSoup爬取<s>元素并写入字典,但某些div下没有这一元素,导致自动写入下一条,如何解决?9. python3.x - python多进程,不能在同一窗口吗10. 导入数据库不成功
排行榜

网公网安备