From bb92382424e64c35b484fa4680c235f14af7b7eb Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 15 Jan 2005 17:54:45 +0000 Subject: Fixed that unit tests for MySQL are now run as the "rails" user instead of root #455 [Eric Hodel] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@419 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/test/connections/native_mysql/connection.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activerecord/test/connections/native_mysql') diff --git a/activerecord/test/connections/native_mysql/connection.rb b/activerecord/test/connections/native_mysql/connection.rb index b663106d1f..b73023f337 100644 --- a/activerecord/test/connections/native_mysql/connection.rb +++ b/activerecord/test/connections/native_mysql/connection.rb @@ -10,7 +10,7 @@ db2 = 'activerecord_unittest2' ActiveRecord::Base.establish_connection( :adapter => "mysql", :host => "localhost", - :username => "root", + :username => "rails", :password => "", :database => db1 ) @@ -18,7 +18,7 @@ ActiveRecord::Base.establish_connection( Course.establish_connection( :adapter => "mysql", :host => "localhost", - :username => "root", + :username => "rails", :password => "", :database => db2 ) -- cgit v1.2.3