mysql ER_BAD_DB_ERROR: Unknown database 'test'
大家讲道理
大家讲道理 2017-04-17 14:51:58
0
2
660

Start Logger @ server.js

debug: #### 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'

这个是什么问题?

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(2)
Ty80

It seems that there are three possibilities for the problem:

  1. Your database is not started

  2. You don’t have a database named test

  3. You have this database, but when you use this database called test, it has not been created yet

Peter_Zhu

show databases take a look

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!