views:

82

answers:

1

In my rails app I am running rake db:create:all in order to create the databases and I am prompted that the collations do not match. Is there a way to change the default MySQL collation? If not what is the best way around this? Thanks

+1  A: 

Are the collation options specified in your MySQL configuration file (normally named my.cnf). It should look something like this (in the [mysqld] section):

character-set-server=utf8
collation-server=utf8_general_ci

More info:

Bill Turner