Mysqld:unknown variable Default-character-set=utf8

Source: Internet
Author: User

When using mysql5.5, modify the my.cnf file according to the previous 5.1 method, but the following error event type is prompted: Error
Event Source: MySQL
Event Type: None
Event id:100
Date: 2012-11-14
Event: 12:00:12
Users: N/A
Computer: svctag-hzwgf3x
Describe:
Xxxbinmysqld:unknown variable ' Default-character-set=utf8 '

For more information, the Support Center at http://www.mysql.com.

View Event Viewer-application, see MySQL log, click Enter to see:

Xxxbinmysqld:unknown variable ' Default-character-set=utf8 '

For more information, the Support Center at http://www.mysql.com.

It seems to be the Default-character-set=utf8 of this set of trouble ....

Later learned that because MySQL 5.5 modifies the character set settings parameter

Should be changed to:

Replace Default-character-set=utf8 with Character_set_server=utf8

We can solve this problem.

Try and replace Character_set_server=utf8.

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.