Never mind. I installed mysql and mysql-client and mysql-dev via
Fink. Then I was able to build the gem mysql (after pointing to the /
sw install manually) and THEN everything worked.
Right-o!
Jonathan
On Jun 14, 2005, at 12:09 AM, Jonathan Broad wrote:
> Hello,
>
> I''m using Mysql 4.1, and am trying to set up a Rails dev
> environment on Mac OS X 10.4.1. When I try to access the database
> in any way, I get this error:
>
> Mysql::Error: Access denied for user
''''@''localhost'' (using
> password: NO)
>
> ...which apparently flies in the face of database.yml''s
> configuration. I''ve used IRB to determine that database.yml is
> loading, and that ActiveRecord::Base.configuration is correctly
> set. But when I try to get an ActiveRecord::Base.connection, no joy.
>
> Mysql is running fine, /tmp/mysql.sock is there, and I have no
> trouble connecting to it by other means.
>
> I''m 100% sure there''s a simple answer to this problem.
Someone
> out there, please, point out the obvious to me...
>
> Jonathan
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
>