Mysql Default Character Set setting method (Installation-Free Edition)

Source: Internet
Author: User
Sometimes we need to modify the default character set when using non-installed mysql. You can select the installation version.

Sometimes we need to modify the default character set when using non-installed mysql. You can select the installation version.

Take mysql-noinstall-5.0.22-win32 as an example, after decompression will see under the mysql-5.0.22-win32 folder, there are five ini format file, copy the my-medium.ini file, renamed my. ini, open my. in the INI file, add default-character-set = gb2312 under [client] and [mysqld], which means to set gb2312 as the default character set of the database. After setting, restart the myqsl service.
Similarly, you can set other character sets to the default character set.

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.