Created
October 27, 2014 00:58
-
-
Save MarcosBL/dbbed084573e3d87b70a to your computer and use it in GitHub Desktop.
Converting MySQL Database Contents to UTF-8
This file contains hidden or 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
| # Do a loop with your database tables that creates commands like this, it will force the conversion automatically | |
| ALTER TABLE `name` MODIFY COLUMN `title` VARCHAR(255) CHARACTER SET binary; | |
| ALTER TABLE `name` MODIFY COLUMN `title` VARCHAR(255) CHARACTER SET utf8; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment