Last active
March 22, 2016 06:15
-
-
Save acdha/1084682 to your computer and use it in GitHub Desktop.
Commands needed to create an AWS RDS database parameter group which defaults to Unicode sanity: UTF-8, full collation, etc.
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
brew install rds-command-line-tools | |
rds-create-db-parameter-group mysql-utf8 -f mysql5.1 -d "MySQL 5.1 configured for UTF-8" | |
rds-modify-db-parameter-group mysql-utf8 \ | |
--parameters="name=character_set_server, value=utf8, method=immediate" \ | |
--parameters="name=character_set_client, value=utf8, method=immediate" \ | |
--parameters="name=character_set_results,value=utf8,method=immediate" \ | |
--parameters="name=collation_server, value=utf8_general_ci, method=immediate" \ | |
--parameters="name=collation_connection, value=utf8_general_ci, method=immediate" | |
rds-modify-db-instance wdl-test --db-parameter-group-name mysql-utf8 | |
rds-reboot-db-instance wdl-test |
Heh, I'll stop before it becomes a liturgy.
Chris
…On Friday, July 15, 2011 at 10:10 AM, eikeon wrote:
Did it get too long to be an incantation? ;)
##
Reply to this email directly or view it on GitHub:
https://gist.github.com/1084682
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Did it get too long to be an incantation? ;)