From: kranthi reddy Date: 2008-06-23T14:16:32+09:00 Subject: Re: Rails - Access denied for user 'root'@'localhost' ... ------=_Part_3712_18667159.1214198300720 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline This happens generally when the mysql is not reached by the rails applicaiton... Probably there must be some super user/sudo user who need to grant the acces permissions for mysql to get connected. If you can conntect using ruby script/console you can be aware of much whats is going on the command. On Mon, Jun 23, 2008 at 8:12 AM, Eric Tucker wrote: > I have had some issues using a blank mysql password / no password on some > boxes. Not sure if it's rails or mysql, but try using a password. > Sent wirelessly via BlackBerry from T-Mobile. > > -----Original Message----- > From: James Britt > > Date: Mon, 23 Jun 2008 11:09:47 > To:ruby-talk@ruby-lang.org (ruby-talk ML) > Subject: Re: Rails - Access denied for user 'root'@'localhost' ... > > > Jim Cochrane wrote: > > I suppose I should post this in a Rails mailing list or wiki, but the > > medium I'm used to is USENET, so I thought I'd try here first. (I don't > > think there's a Rails newsgroup - please correct me if I'm wrong - > > and I see some Rails postings here sometimes, so I'm assuming this > > is appropriate.) > > > > I'm using the book "Ajax on Rails" to learn about Rails development and > > after following along for the first example, in chapter 2 (pg 20), I'm > > encountering the error: > > > > #28000Access denied for user 'root'@'localhost' (using password: NO) > > This looks like a MySQL user configuration issue. > > Does user 'root' in MySQL have a password? > > Have you created a better use account to use with the application DB? > > > > -- > James Britt > > www.happycamperstudios.com - Wicked Cool Coding > www.jamesbritt.com - Playing with Better Toys > www.ruby-doc.org - Ruby Help & Documentation > www.rubystuff.com - The Ruby Store for Ruby Stuff > > ------=_Part_3712_18667159.1214198300720--