the MySQL service on local computer started and then stopped(本地计算机上的 MySQL 服务启动然后停止)
问题描述
本地计算机上的 MySQL 服务启动然后停止.如果其他服务或程序未使用某些服务,它们会自动停止.
the MySQL service on local computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.
谁能解决这个问题?谢谢.
Can anyone resolve this issue? Thanks.
推荐答案
如果使用版本 8 并且您编辑 my.ini,我发现记事本在 my.ini 文件的开头放置了 3 个十六进制字符.EF BB BF.在十六进制编辑器中删除文件开头的 3 个字符可解决此问题.
If using version 8 and you edit the my.ini I found that Notepad is putting 3 hex characters at the beginning of the my.ini file. EF BB BF. Deleting the 3 characters from the beginning of the file in a hex editor fixes the problem.
在第 8 版中,他们不小心将 Unicode 字符放入 ini 文件中.这导致记事本使用字节顺序标记字符保存文件.
In version 8 they are accidentally putting Unicode characters in the ini file. This is causing Notepad to save the file with Byte order mark characters.
文件中的以下行是罪魁祸首第 # 行范围从 1 到 2^32 − 1.唯一"意味着每个 ID 必须不同.有 3 个 Unicode 字符.这导致记事本将字节顺序标记附加到文本文件中.
The following line in the file is the culprit "The line # range from 1 to 2^32 − 1. "Unique" means that each ID must be different." has 3 Unicode characters. This is causing notepad to append the byte order mark to the text file.
这篇关于本地计算机上的 MySQL 服务启动然后停止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:本地计算机上的 MySQL 服务启动然后停止
基础教程推荐
- 在 SQL 中连接多个表 2021-01-01
- SQL 效率:WHERE IN 子查询 vs. JOIN 然后 GROUP 2021-01-01
- 如何使用 mysql.connector 禁用查询缓存 2022-01-01
- 无法解决整理冲突 2021-01-01
- 是否可以执行按位分组功能? 2021-01-01
- SSMS 中的权限问题:“对象 'extended_properties'、数据库 'mssqlsystem_resource'、... 错误 229)上的 SELECT 权限被拒绝" 2022-01-01
- 需要 MySQL 5.1 中的抽象触发器来更新审计日志 2021-01-01
- 将 SQL Server DateTime 列迁移到 DateTimeOffset 2021-01-01
- SQL:使用来自具有相同列名的两个表中的数据... 2021-01-01
- SQL Server 实例在登录协商期间返回无效或不受支持的协议版本 2021-01-01
