Skip to content

Instantly share code, notes, and snippets.

@lpirir
Created December 29, 2014 02:12
Show Gist options
  • Save lpirir/6970992e694c79c5f94f to your computer and use it in GitHub Desktop.
Save lpirir/6970992e694c79c5f94f to your computer and use it in GitHub Desktop.
Create a UTF8 table in MySQL
CREATE TABLE aTable (
id BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY,
aNumber bigint(20) DEFAULT NULL
) ENGINE=InnoDB CHARACTER SET=utf8;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment