Okay this is plain silly,
what does your config/database.yml show?
Which Adapter are you using SQLite3? MySQL?
If you are using MySQL please create the database, db:create does not
create the database for you.
... and if you are unaware of how to do that, then please read the
manual for whatever adapter you are using.
On May 29, 2008, at 9:09 AM, Arun Gupta wrote:
Is it mandatory to use production database ?
No it's for your production mode. Because with the production
database, there are too production configuration about cache by
example. So it's advise to use production environnement for a blog
not
use for developpement.
Ok, I was trying it on my local so thought of trying the development
mode to begin with.
Even with production mode, I'm getting:
-- cut here --
(in /Users/arungupta/samples/jruby/typo-5.0.3)
rake aborted!
#42000Unknown database 'typo'
(See full trace by running task with --trace)
-- cut here --
The command below should generate the development database, isn't
it ?
This commande create the database. But your user are right for
create it ?
I'm using the database.yml bundled with Typo 5.0.3 and MySQL is also
default (username: root, password: <blank>).
-Arun
--
Cyril Mougel
http://blog.shingara.fr
_______________________________________________
Typo-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/typo-list
--
Web Technologies and Standards
Sun Microsystems, Inc.
Blog: http://blogs.sun.com/arungupta
_______________________________________________
Typo-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/typo-list
!DSPAM:483ed65c62851646824759!
_______________________________________________
Typo-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/typo-list