[LRUG] MySQL/Rails Collation

Andrew Stewart boss at airbladesoftware.com
Tue Jan 24 04:15:43 PST 2012


On 24 Jan 2012, at 10:00, Andrew Stewart wrote:
> Is this exporting the data as latin1 or as utf8?

To answer my own question for the record, I used this command instead:

    mysqldump -uUSER -pPASSWORD --quick --single-transaction --create-options --skip-set-charset --default-character-set=latin1 DATABASE > dump.sql

Cheers,
Andy
-------
http://airbladesoftware.com





More information about the Chat mailing list