更改了mysql的配置文件之后,启动不了mysql服务

更改了mysql的配置文件之后,启动不了mysql服务

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

  1. error: Found option without preceding group in config file: D:mysql-5.7.17-win32my.ini at line: 1    
  2. Fatal error in defaults handling. Program aborted   

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

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

注意:用不同的工具打开并编辑之后,保存的格式是不一样的!

原文地址:https://www.cnblogs.com/xh_Blog/p/8085919.html