I’ve created a new rails app (3.1.1) using MySQL. In database.yml, I’ve put in the login credentials for a remote MySQL server in development, while the test & production databases are set up with localhost. It appears that creating a scaffold and rake db:migrate goes into the test db?
How do I do force rails to only use development mysql db? I’d like db:create, db:migrate, etc. only create tables in the development (remote MySQL) server and NOT in test or production?
rake db:migrateand similar calls use yourdevelopmentenvironment, not your test one. If you want to migrate your test database, you would doHow are you determining that when you use
rake db:migratethat this is going into your test DB?