mysql数据库error: Found option without preceding group in config file 问题解决

Posted wyx100

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mysql数据库error: Found option without preceding group in config file 问题解决相关的知识,希望对你有一定的参考价值。

安装mysql 启动时,启动不了,报错:

输入

net start mysql

报错:

error: Found option without preceding group in config file: D:\\mysql-5.6.24-win32\\my.ini at line: 1
Fatal error in defaults handling. Program aborted


原因:my.ini文件格式是utf-8

解决办法,my.ini文件保存为ANSI格式文件




以上是关于mysql数据库error: Found option without preceding group in config file 问题解决的主要内容,如果未能解决你的问题,请参考以下文章