diff options
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/connections/native_mysql/connection.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/activerecord/test/connections/native_mysql/connection.rb b/activerecord/test/connections/native_mysql/connection.rb index 9a91a75cac..ff6bda51bb 100644 --- a/activerecord/test/connections/native_mysql/connection.rb +++ b/activerecord/test/connections/native_mysql/connection.rb @@ -4,6 +4,9 @@ require 'logger' ActiveRecord::Base.logger = Logger.new("debug.log") +# GRANT ALL PRIVILEGES ON activerecord_unittest.* to 'rails'@'localhost'; +# GRANT ALL PRIVILEGES ON activerecord_unittest2.* to 'rails'@'localhost'; + ActiveRecord::Base.configurations = { 'arunit' => { :adapter => 'mysql', |