Gotcha : Mysql::Error: Unknown database 'application_name_test' /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
Posted in Uncategorized on July 19th, 2009 by ph-lee – Be the first to commentAfter dealing with thisGotcha : Mysql::Error: Access denied for user ‘root’@’localhost’ you’ve hit another problem of…
This means rails is looking for the test database but can’t find it cause it’s not there. Simply got to mysql Query Browser or command line, whichever you prefer and create a new database/schema of your application_name followed by _test so for example
my_app_test
Theres no need to copy/clone the database structure a across. Rails will replicate the development database as the test database.