[typo] db:create gives "Unknown database"
Cyril Mougel
cyril.mougel at gmail.com
Fri May 30 03:28:05 EDT 2008
On Fri, May 30, 2008 at 2:49 AM, Arun Gupta <arun.gupta at gmail.com> wrote:
>> Okay this is plain silly,
> Sorry, but not working for me :(
>
>>
>> what does your config/database.yml show?
>
> It is the one bundled with Typoe 5.0.3 and shown here:
>
> login: &login
> adapter: mysql
> host: localhost
> username: root
> password:
>
>
> development:
> database: typo_dev
> <<: *login
>
> test:
> database: typo_tests
> <<: *login
>
> production:
> database: typo
> <<: *login
>
>>
>> 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.
--
Cyril Mougel
http://blog.shingara.fr
More information about the Typo-list
mailing list