Windows cannot start the MySQL service, error 1067

Source: Internet
Author: User

problem: MySQL service startup exception

Find out why

Check the error message for the Client-02.err file in the D:\mysql-5.6.20-winx64\data directory (the file with the Err suffix is the MySQL log file)

Modify the configuration to resolve the inability to start the MySQL service

Change the Default-charater-set=utf8 in the My.ini file to Character_set_server=utf8, and the MySQL service can start normally.

fall into the dead problem

when I re-logged in to MySQL, there was an error "Unknown variable Character-set-server=utf8" that I had recently encountered. This is not

Did you get into the death question? Write "Default-charater-set=utf8" cannot start MySQL service, write "Character_set_server=utf8" cannot log in

Mysql. What makes me so good ...

Summary

  Finally, I have deleted the "Character_set_server=utf8" and "Default-charater-set=utf8". The service starts normally and logs on to MySQL normally.

I know this is not a good solution, because it involves coding problems, can not be deleted just. So you have to understand the configuration properties of MySQL and how to solve

garbled problem.

Windows cannot start the MySQL service, error 1067

Related Article

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.