MySQL Convert all collation table and fields with one command line
mysql –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
September 16th, 2009 at 12:05 am
You are not right. I can defend the position. Write to me in PM, we will communicate.
And very interesting inforgation you can find here
See you!
gunherfieldu
January 10th, 2010 at 8:44 pm
Blame you as a service to the wonderful information.
August 27th, 2010 at 1:30 am
Welcome to my Dukan Diet Journey. I’m not doing this alone, be sure to check out other people in my blogroll who are on the same adventure as me!
August 29th, 2010 at 5:48 am
Just what I was looking for. Google rocks - so glad I found this.