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

2020-09-25 13:43:42 码农 2205

 

问题描述:安装mysql 5.7.25 启动mysql服务时,启动不了,报错:

error: Found option without preceding group in config file: C:\Program Files\MySQL\MySQL Server 5.7\my.ini at line: 1
Fatal error in defaults handling. Program aborted

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

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

—— 完 ——
  • Vue.js 如何在VS Code中禁用.vue文件中模板特定行的eslint警告
  • TIMESTAMP with implicit DEFAULT value is deprecated
  • 关于计算机重新启动处于挂起状态的问题解决
  • Windows10企业版转为专业版方法(含专业版激活密钥)
  • 其中适于攻击计算机文件系统和数据库系统的是()。
  • 内存占用高,你的数据库该如何优化?
  • SQL ANY, ALL运算符
  • ()helps to determine which individual project risks or other sources of uncertainty have the most potential impact on project outcomes
  • 什么是网络协议?协议三要素是什么?Internet采用何种协议?
  • const int*、const int * const 和 int const * 的区别

© CopyRight 2014~2024 薄学网.