When I'm trying to migrate my database I get an error Mysql2::Error: Table 'database.lorem_ipsum' doesn't exist: SHOW FULL FIELDS FROM ``lorem_ipsum
. I've created database before by rake db:migrate
config/database.yml
development:
adapter: mysql2
database: database
username: root
password:
Can you try this ?
test:
adapter: mysql2
encoding: utf8
reconnect: false
database: database
pool: 5
username: root
password:
On your database.yml
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.