Mysql Korean garbled problem _ MySQL

Source: Internet
Author: User
Mysql Korean garbled problem bitsCN. commysql Korean garbled problem because the database I created contains Korean, so here I will talk about Korean garbled problem solutions. Other Asian languages are similar. I have summarized the following steps (the red font can be replaced with your own content): 1. when creating a database, declare the DEFAULT settings: create database database_name default charset = utf8; here I use the utf8 format. I think you should first try this format. I first tried the Korean settings but did not solve the problem. 2. after the database is created, run the following command to view the status of the language: show variables like 'character _ set _ % ', as shown in. 3. SET the value of another "variable_name" to utf8: SET character_set_client = utf8; SET character_set_connection = utf8; SET character = utf8; SET character_set_database = utf8; SET character_set_server = utf8; then you can create a table under the database, insert the value, and display Korean. I want to display Chinese characters.
Author: brandyzhaoweibo itscn.com

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.