[typo] db:create gives "Unknown database"

Arun Gupta arun.gupta at gmail.com
Fri May 30 09:25:01 EDT 2008

>>> Which Adapter are you using SQLite3? MySQL?
>> MySQL with JRuby
> With JRuby, I think that the Mysql adapter doesn't work. You need use
> : jdbcmysql
> Test with change the line adapter : mysql by adapter : jdbcmysql
> and install the gems jdbc-mysql activerecord-jdbcmysql-adapter.
MySQL Ruby adapter has always worked for me on Mac OS X.

As I said above,

~/testbed/jruby-1.1.2/bin/jruby -S rails foo -d mysql
cd foo
~/testbed/jruby-1.1.2/bin/jruby -S rake db:create

creates foo_development database for me. Why do I have to create it
explicitly for Typo ?


> --
> Cyril Mougel
> http://blog.shingara.fr
> _______________________________________________
> Typo-list mailing list
> Typo-list at rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list

Web Technologies and Standards
Sun Microsystems, Inc.
Blog: http://blogs.sun.com/arungupta

More information about the Typo-list mailing list