On Dec 2, 7:30 am, chuyeow <[EMAIL PROTECTED]> wrote:
> Hmm Frederick is right, that's all I've had to do. If you read the
> latest RUNNING_UNIT_TESTS (http://dev.rubyonrails.org/browser/trunk/
> activerecord/RUNNING_UNIT_TESTS) and the connection settings for
> running tests on MySQL (http://dev.rubyonrails.org/browser/trunk/
> activerecord/test/connections/native_mysql/connection.rb), you pretty
> much create the 'activerecord_unittest' and 'activerecord_unittest2'
> databases and grant the 'rails' user all privileges and you're good to
> go.
>
> What steps have you done? Perhaps that'd help us to find out what your
> problem is.

I've done exactly what the file says.
1. I created the databases activerecord_unittest and
activerecord_unittest2.
2. I added a user account for MySQL, as specified in connection.rb.
3. I granted ALL PRIVILEGES to that account to the created databases.
4. rake test_mysql
5. See the test fail.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to