# Newbie - Mysql::Error in SayController#hello

**URL:** <https://www.ruby-forum.com/t/newbie-mysql-error-in-saycontroller-hello/164473>\
**Category:** Rails\
**Created:** [April 1, 2009, 7:51pm UTC](https://www.ruby-forum.com/t/newbie-mysql-error-in-saycontroller-hello/164473 "2009-04-01T19:51:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deb\_P](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c89c15/32.png) [@Deb\_P](https://www.ruby-forum.com/u/Deb_P)\
**Post date:** [April 1, 2009, 7:51pm UTC](https://www.ruby-forum.com/t/newbie-mysql-error-in-saycontroller-hello/164473/1 "2009-04-01T19:51:43Z")

</div>

Hi,

I’m trying to follow the agile book for hello world. I’ve run into  
several problems and been able to resolve them up to:  
Mysql::Error in SayController#hello  
Access denied for user ‘root’@‘localhost’ (using password: NO)

I saw a posting that said if you create all the dbs the app needs then  
it will work. Is this the correct solution? If so, how do I do it?

Thank you.

---

<div class="post-metadata">

**Author:** ![Deb\_P](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c89c15/32.png) [@Deb\_P](https://www.ruby-forum.com/u/Deb_P)\
**Post date:** [April 1, 2009, 7:52pm UTC](https://www.ruby-forum.com/t/newbie-mysql-error-in-saycontroller-hello/164473/2 "2009-04-01T19:52:21Z")

</div>

On Apr 1, 6:19 pm, Deb P [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi,
> 
> I’m trying to follow the agile book for hello world. I’ve run into  
> several problems and been able to resolve them up to:  
> Mysql::Error in SayController#hello  
> Access denied for user ‘root’@‘localhost’ (using password: NO)

Is there a password for the root mysql user ?

Fred
