Skip to content

Instantly share code, notes, and snippets.

@jinto
Forked from acdha/Shell log.sh
Created April 3, 2012 17:53
Show Gist options
  • Save jinto/2294156 to your computer and use it in GitHub Desktop.
Save jinto/2294156 to your computer and use it in GitHub Desktop.
Contortions needed to create an AWS RDS database using UTF-8
brew install rds-command-line-tools
rds-create-db-parameter-group mysql-utf-param --db-parameter-group-family mysql5.5 --description "MySQL 5.5 configured for UTF-8" --region us-west-1
rds-modify-db-parameter-group mysql-utf-param \
--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" \
--region us-west-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment