Maison  >  Questions et réponses  >  le corps du texte

mysql ER_BAD_DB_ERROR: Unknown database 'test'

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'

这个是什么问题?

大家讲道理大家讲道理2742 Il y a quelques jours665

répondre à tous(2)je répondrai

  • PHP中文网

    PHP中文网2017-04-17 14:53:58

    看样子问题有三种可能:

    1. 你的数据库没启动起来

    2. 你没有一个叫test的数据库

    3. 你有这个数据库,但是你使用这个叫test的数据库的时候,还没创建好

    répondre
    0
  • 天蓬老师

    天蓬老师2017-04-17 14:53:58

    show databases 看下

    répondre
    0
  • Annulerrépondre