Last active
October 12, 2017 21:20
-
-
Save innbitcodes/4012269 to your computer and use it in GitHub Desktop.
MySQL: Create Database in UTF8
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 dbname DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci; | |
GRANT ALL ON dbname.* TO 'dbuser' IDENTIFIED BY 'dbpassword'; | |
flush privileges; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks. Totally had a "but what was the bit to set the encoding" brain fart moment.