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 问题解决的主要内容,如果未能解决你的问题,请参考以下文章

ERROR 3009 (HY000): Column count of mysql.user is wrong. Expected 45, found 43. Created with MySQL 5

mysql无法启动ERROR! MySQL is running but PID file could not be found ?

编译安装zabbix error: MySQL library not found

python[error] - mysql_config not found

ERROR! MySQL server PID file could not be found!的解决方法

编译安装zabbix error: MySQL library not found