MySQL Convert all collation table and fields with one command line
July 10th, 2009 misuimysql –database=dbname -B -N -e “SHOW TABLES” | awk ‘{print “ALTER TABLE”, $1, “CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;”}’ | mysql –database=dbname &
thanks, http://www.commandlinefu.com/commands/view/1575/convert-all-mysql-tables-and-fields-to-utf8
Misui’s BUGS