Hi Stuart,
If you can login from the shell as root without a password, then my
first guess would be that you must not appear to MySQL as coming in on
the localhost domain when you do that. This sounds like something you
should continue to investigate and get straightened out.
Having said that…
For a quick ‘fix’, have you tried just doing a grant to that user?
grant all on database_name.* to ‘root’@‘localhost’
hth,
Bill
----- Original Message -----
From: Dark A.
To: [email protected]
Sent: Friday, November 10, 2006 10:52 AM
Subject: [Rails] Re: Access denied for user:-
On 11/10/06, Bill W. [email protected] wrote:
Hi Stuart,
When, exactly, do you get this message? During your application's
execution? When you’re interacting with MySQL via the command line?
What platform are you getting this on?
Bill
Hi Bill!, I get the message when I’m attempting to load a page that
loads a table. I can get in command line with no problem, selects, etc.
Red Hat Linux.
Stuart
----- Original Message -----
From: Dark A.
To: rubyonrails-talk
Sent: Friday, November 10, 2006 3:23 AM
Subject: [Rails] Access denied for user:-
I"m getting this error
Access denied for user: 'root@localhost' (Using password: NO)
I've googled around and realize it can be any number of things.
The yml file is set up correct and I can login into database through
shell.
Any ideas what to try next ?
TIA
Stuart
--
http://en.wikipedia.org/wiki/Dark_ambient
–
Dark ambient - Wikipedia