thinksimple.pl

mysqldump

May 24, 2009

I just keep forgetting how to properly export data with utf8 charset, so this one’s for me:

mysqldump database table1 table2 table3 --default-character-set=utf8 -u user -ppassword [-h host] > file.sql