diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2006-06-28 23:36:22 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2006-06-28 23:36:22 +0000 |
commit | a09274955422ad5da74ee7574b25b63f51abfb75 (patch) | |
tree | c82557593ea2eae7f1d1cdbb8aed195e222e595a /activerecord | |
parent | 81a6a60dc6dff2ad8c2a45bf17fc40e760224e30 (diff) | |
download | rails-a09274955422ad5da74ee7574b25b63f51abfb75.tar.gz rails-a09274955422ad5da74ee7574b25b63f51abfb75.tar.bz2 rails-a09274955422ad5da74ee7574b25b63f51abfb75.zip |
rake build_mysql_database grants permissions to rails@localhost. Closes #5501.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4503 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/CHANGELOG | 2 | ||||
-rwxr-xr-x | activerecord/Rakefile | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG index c7779b6efa..0724ff24c1 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* rake build_mysql_database grants permissions to rails@localhost. #5501 [brianegge@yahoo.com] + * PostgreSQL: support microsecond time resolution. #5492 [alex@msgpad.com] * Add AssociationCollection#sum since the method_missing invokation has been shadowed by Enumerable#sum. diff --git a/activerecord/Rakefile b/activerecord/Rakefile index 623dd5aaa5..9f12bedf10 100755 --- a/activerecord/Rakefile +++ b/activerecord/Rakefile @@ -41,6 +41,8 @@ desc 'Build the MySQL test databases' task :build_mysql_databases do %x( mysqladmin create activerecord_unittest ) %x( mysqladmin create activerecord_unittest2 ) + %x( mysql -e "grant all on activerecord_unittest.* to rails@localhost" ) + %x( mysql -e "grant all on activerecord_unittest2.* to rails@localhost" ) %x( mysql activerecord_unittest < #{File.join(SCHEMA_PATH, 'mysql.sql')} ) %x( mysql activerecord_unittest < #{File.join(SCHEMA_PATH, 'mysql2.sql')} ) end |