Created
August 21, 2017 03:33
-
-
Save wujiyu115/23b09a96c49f5b87b9ecef47665f9134 to your computer and use it in GitHub Desktop.
mysql_charset
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 `', TABLE_NAME,'` CONVERT TO CHARACTER SET utf8mb4;') AS mySQL | |
FROM INFORMATION_SCHEMA.TABLES | |
WHERE TABLE_SCHEMA= "chess_log" | |
AND TABLE_TYPE="BASE TABLE" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment