Due to the creation of RDS, the default character set and the program are not matched, so it needs to be changed to UTF8
1. View MySQL current encoding settings
650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M00/8D/E0/wKioL1itpmKADxccAAAsCeAHq48332.png "title=" Default. png "alt=" Wkiol1itpmkadxccaaasceahq48332.png "/>
2. Creating an RDS parameter group in the RDS console
650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M01/8D/E2/wKiom1itprbQ8a2_AAAqsASoeyg606.png "title=" Create a. png "alt=" Wkiom1itprbq8a2_aaaqsasoeyg606.png "/>
3. Modifying the character Set
Edit the parameter group, locate All items beginning with character-set, and modify its configuration to UTF8
650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M01/8D/E0/wKioL1itpw6DsRnLAAA343Y0dto387.png "title=" Character set. png "alt=" Wkiol1itpw6dsrnlaaa343y0dto387.png "/>
4. Set the parameter group for RDS to the parameter group you just created. Restart RDS
650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M00/8D/E2/wKiom1itpzbQa5tQAAA20M4c6OI741.png "title=" Associate. png "alt=" Wkiom1itpzbqa5tqaaa20m4c6oi741.png "/>
Since I created RDS here using the default parameter group, if you want to correlate the parameter group you need to compare, see if there are any other parameters changed to ensure that RDS does not have problems
Parameter comparison
650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M00/8D/E0/wKioL1itp1rDgoTjAABaiwj-XBw083.png "title=" Parameter comparison. png "alt=" Wkiol1itp1rdgotjaabaiwj-xbw083.png "/>
5. Verification
650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M02/8D/E2/wKiom1itp23RgWZNAAAMuNhGk_k148.png "title=" QQ picture 20170222223305.png "alt=" Wkiom1itp23rgwznaaamunhgk_k148.png "/>
This article from "Do not abandon!" Do not give up "blog, be sure to keep this source http://thedream.blog.51cto.com/6427769/1900377
RDS in AWS modifies the encoding of MySQL