Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- How do I change my database from SQLite to MYSQL in Rails
- gem 'mysql2'
- development:
- adapter: mysql2
- encoding: utf8
- reconnect: false
- database: db_name_here
- pool: 5
- username: root
- password:
- host: localhost
- rake db:create
- rake db:migrate
- rails new app_name_here --database=mysql
- gem 'mysql2'
- gem 'mysql2', '~> 0.2.1'
Add Comment
Please, Sign In to add comment