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 <james.britt / gmail.com> 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