Skip to content
Browse files

Fixed that unit tests for MySQL are now run as the "rails" user inste…

…ad of root #455 [Eric Hodel]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@419 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 51390b8 commit bb92382424e64c35b484fa4680c235f14af7b7eb @dhh dhh committed Jan 15, 2005
Showing with 4 additions and 2 deletions.
  1. +2 −0 activerecord/CHANGELOG
  2. +2 −2 activerecord/test/connections/native_mysql/connection.rb
View
2 activerecord/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* Fixed that unit tests for MySQL are now run as the "rails" user instead of root #455 [Eric Hodel]
+
* Added validates_associated that enables validation of objects in an unsaved association #398 [Tim Bates]. Example:
class Book < ActiveRecord::Base
View
4 activerecord/test/connections/native_mysql/connection.rb
@@ -10,15 +10,15 @@
ActiveRecord::Base.establish_connection(
:adapter => "mysql",
:host => "localhost",
- :username => "root",
+ :username => "rails",
:password => "",
:database => db1
)
Course.establish_connection(
:adapter => "mysql",
:host => "localhost",
- :username => "root",
+ :username => "rails",
:password => "",
:database => db2
)

0 comments on commit bb92382

Please sign in to comment.
Something went wrong with that request. Please try again.