Class | DeepTest::Database::MysqlSetupListener |
In: |
lib/deep_test/database/mysql_setup_listener.rb
|
Parent: | SetupListener |
SetupListener implementation for MySQL.
admin_configuration | [RW] | ActiveRecord configuration to use when connecting to MySQL to create databases, drop database, and grant privileges. By default, connects to information_schema on localhost as root with no password. |
Creates database and grants privileges (via grant_privileges) on it via ActiveRecord connection based on admin_configuration.
Location to store dumpfile. The default assumes you are testing a Rails project. You should override this if you are not using Rails or would like the dump file to be something other than the default