[Rails] Four Days on Rails
James Knight
james.knight at goodtechnology.com
Wed Mar 2 17:14:43 GMT 2005
No, I don't think I did.
Once I granted privileges to the user in John's tutorial it worked,
whereas when I tried to follow the tutorial accessing the database via
my usual mysql user, it failed.
Cory Knox wrote:
> James, a friend of mine experienced the same issue, he believes it's
> the outdated ruby mysql driver, it doesn't support the new
> authentication introduced in 4.1.1, did you setup the mysql server the
> way the onlamp article says to?
>
>
>
>>>>Anyway, when I add the scaffold and test it in a browser, I get this
>>>>error:
>>>> ActiveRecord::StatementInvalid in Category#index
>>>>
>>>>Invalid argument: SELECT * FROM categories
>>>>
>>>>When I run that select in mysql it runs fine, although there's not yet
>>>>any content in there, so it returns an empty set.
>>>>
>>>>Surely this shouldn't be an invalid statement.
>
> _______________________________________________
> Rails mailing list
> Rails at lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
More information about the Rails
mailing list