Created
March 14, 2013 21:19
-
-
Save Mallinanga/5165379 to your computer and use it in GitHub Desktop.
#db Alter database/table charset/collation
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
ALTER DATABASE __databasename__ DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci; | |
ALTER TABLE __tablename__ CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment