更改了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-win32\my.ini at line: 1    
  2. Fatal error in defaults handling. Program aborted   

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

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

 

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

posted @ 2017-12-22 14:39  xh_Blog  阅读(2030)  评论(0)    收藏  举报