Mysql’de tüm tabloları UTF8’e çevirmek için:
1 |
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 & |
1 |
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 & |
You must be logged in to post a comment.
So, what do you think ?