Tag Archives: MySQL – Found option without preceding group in config file

MySQL – Found option without preceding group in config file

How is 618 sales champion made?Uncover the secret of e-commerce’s “invigorating” hundreds of millions of sales data>>>

1.1.1 phenomenon

When starting mysql, windows prompts an error. In the service, MySQL is always in the starting state. When executing MySQL command, the following error message appears:

error:found option without preceding group in config file:E :\webserver\mysql5\my.ini at line :1

fatal error in defaults handling .program aborted.

1.1.2 causes

The storage format of the configuration file my.ini is incorrect, resulting in abnormal characters. My machine operating system is win7 in English. My.ini is stored in UTF-8 format. A new parameter is added. This happens after the file is saved

1.1.3 solution

Save my.ini file in ANSI format, and MySQL service can be correctly identified when it is started