[typo] db:create gives "Unknown database"
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
~/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
> Typo-list mailing list
> Typo-list at rubyforge.org
Web Technologies and Standards
Sun Microsystems, Inc.
More information about the Typo-list