How to solve error rake aborted! Unknown database ‘mysite_development’

In the beginning of my Ruby On Rails project I tried to run migration command

and got the error bellow:

The cause?
I forgot to create the database first.


The solution?
Run the creation command first:

and your done.

Leave a Reply

Your email address will not be published. Required fields are marked *