Created
February 14, 2017 10:40
-
-
Save taross-f/853e5e216e3fe0d28813f76539446421 to your computer and use it in GitHub Desktop.
convert all columns to UTF8 characterset on Mysql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select concat("alter table schema.", table_name, " convert to Character set utf8;") | |
from information_schema.TABLES | |
where table_schema = "schema"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment