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

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

  • error: Found option without preceding group in config file: D:\mysql-5.7.17-win32\my.ini at line: 1    
  • Fatal error in defaults handling. Program aborted   
  •  原因:my.ini文件格式是utf-8

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

     

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

    相关文章:

    • 2022-12-23
    • 2022-12-23
    • 2022-12-23
    • 2021-06-02
    • 2021-10-19
    • 2021-11-27
    • 2022-01-30
    • 2021-06-19
    猜你喜欢
    • 2021-07-21
    • 2022-12-23
    • 2021-12-04
    • 2021-05-30
    • 2021-11-25
    • 2021-07-04
    相关资源
    相似解决方案