[typo] db:create gives "Unknown database"
Cyril Mougel
cyril.mougel at gmail.com
Thu May 29 02:30:54 EDT 2008
On Thu, May 29, 2008 at 1:52 AM, Arun Gupta <arun.gupta at gmail.com> wrote:
> I'm trying to install Typo 5.0.3 and "rake db:create" gives the following error:
>
> -- cut here --
> (in /Users/arungupta/samples/jruby/typo-5.0.3)
> rake aborted!
> #42000Unknown database 'typo_dev'
>
> (See full trace by running task with --trace)
> -- cut here --
>
> I'm able to create other trivial Rails applications and db:create
> database there.
>
it's because the default environnement is development.
Try :
rake db:create RAILS_ENV='production'
So the creation are in typo production database. You know how is this
base in config.database.yml
--
Cyril Mougel
http://blog.shingara.fr
More information about the Typo-list
mailing list