Created
December 29, 2014 01:34
-
-
Save lpirir/4fe348fafb49162a8ddb to your computer and use it in GitHub Desktop.
Create a UTF8 database in 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
CREATE DATABASE `mydb` CHARACTER SET utf8 COLLATE utf8_general_ci; | |
GRANT ALL ON `mydb`.* TO `username`@localhost IDENTIFIED BY 'password'; | |
FLUSH PRIVILEGES; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment