# Error: development database is not configured

**URL:** <https://www.ruby-forum.com/t/error-development-database-is-not-configured/62565>\
**Category:** Rails\
**Created:** [June 6, 2006, 4:51am UTC](https://www.ruby-forum.com/t/error-development-database-is-not-configured/62565 "2006-06-06T04:51:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikki](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/bcef8e/32.png) [@mikki](https://www.ruby-forum.com/u/mikki)\
**Post date:** [June 6, 2006, 4:51am UTC](https://www.ruby-forum.com/t/error-development-database-is-not-configured/62565/1 "2006-06-06T04:51:55Z")

</div>

I’ve created a database using MySQL Admin and have set the user,  
password and have granted the privilgeges. but when I run (under  
dev…/trunk/www):  
rake migrate --trace, I get the following error msg:

\*\* Invoke migrate (first\_time)  
\*\* Invoke db:migrate (first\_time)  
\*\* Invoke environment (first\_time)  
\*\* Execute environment  
rake aborted!  
development database is not configured  
(…followed by the rest of the stuff)

and just so you know- I’m using ruby 1.84 and I’ve gotten rid of all the  
tabs/spaces in my db.yml file.

help !?!

---

<div class="post-metadata">

**Author:** ![mikki](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/bcef8e/32.png) [@mikki](https://www.ruby-forum.com/u/mikki)\
**Post date:** [June 6, 2006, 5:30pm UTC](https://www.ruby-forum.com/t/error-development-database-is-not-configured/62565/2 "2006-06-06T17:30:02Z")

</div>

Mikki wrote:

> development database is not configured  
> (…followed by the rest of the stuff)
> 
> and just so you know- I’m using ruby 1.84 and I’ve gotten rid of all the  
> tabs/spaces in my db.yml file.
> 
> help !?!

If you’re on a UNIX-ish machine, post the output of:

cd /path/to/application  
grep -v password: config/database.yml  
ls -l config/environments

-Drew
