Configure|Configure Amazon RDS mysql to store Chinese Characters
Configure Amazon RDS mysql to store Chinese Characters https://dev.mysql.com/doc/refman/5.7/en/charset-applications.html
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-database-instance.html#cfn-rds-dbinstance-charactersetname
http://stackoverflow.com/questions/16953232/configure-amazon-rds-mysql-to-store-chinese-characters
文章图片
up vote 5down votefavorite 1 | How to configure the Amazon RDS to store Chinese Characters in the right way? Currently the text all becomes '????'. I already created new parameter group and set character set as utf8 and modify the instance. Below are the detail info:
mysqlamazon-rds
|
|||
add a comment |
up vote 9down voteaccepted | After following @Peter Venderberghe's answer to configure RDS, I still can not let it store Chinese characters correctly. Finally, I used mysql command line to connect to RDS (you can use mysql workbench or other client tool you like) mysql -u USERNAME -pPASSWORD -h HOSTNAMEORIP DATABASENAMEnote: 1). remember to add your current ip to security group inbound of RDS before connecting to RDS 2). you can get related information(security groups, USERNAME ...etc) on RDS console besides PASSWORD . PASSWORD should be the one you created for the instance. HOSTNAMEORIP is "Endpoint"(without the port) on the console.3). there is no space between -p and PASSWORD. it's exactly -pPASSWORD .After connecting to mysql with the tool you are comfortable with, you need to give it some commands:
you may want to write a script to do this task if you have many tables. However, it's not in the scope of this answer. 【Configure|Configure Amazon RDS mysql to store Chinese Characters】After configuring as above, you should be able to rock with Chinese characters! |
推荐阅读
- 联邦学习|【阅读笔记】Towards Efficient and Privacy-preserving Federated Deep Learning
- elon's|elon's keywords of 2016
- python|python records 连接数据库
- 遇到的坑之MapperScannerConfigurer执行时机
- ***|*** Assertion failure in -[UITableView _configureCellForDisplay:forIndexPath:]
- @AutoConfigureAfter和@AutoConfigureBefore排序失效了
- 转换匹配患者记录,看Amazon Lake Formation FindMatches显神通!
- 基于Amazon ECS Fargate构建Apache Superset
- Amazon DynamoDB 在智能湖仓架构中的实践
- Amazon Redshift 表设计优化 – 优化已有数据表中的列大小