Created
October 12, 2018 18:09
-
-
Save geo-stanciu/19f4fafb3bb11839648d1303870d3883 to your computer and use it in GitHub Desktop.
mysql - set database utf8
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 dbname CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; | |
| GRANT ALL PRIVILEGES ON dbname to 'geo'@'%'; | |
| GRANT ALL PRIVILEGES ON dbname.* to 'geo'@'%'; | |
| FLUSH PRIVILEGES; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment