当我尝试迁移数据库时,出现错误Mysql2::Error: Table 'database.lorem_ipsum' doesn't exist: SHOW FULL FIELDS FROM ``lorem_ipsum
。我之前通过rake db:migrate
配置/ database.yml的
development:
adapter: mysql2
database: database
username: root
password:
答案 0 :(得分:0)
你能试试吗?
test:
adapter: mysql2
encoding: utf8
reconnect: false
database: database
pool: 5
username: root
password:
在您的database.yml
上