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 服务启动然后停止


- 如何使用 pip 安装 Python MySQLdb 模块? 2021-01-01
- 导入具有可变标题的 Excel 文件 2021-01-01
- 如何将 Byte[] 插入 SQL Server VARBINARY 列 2021-01-01
- 以一个值为轴心,但将一行上的数据按另一行分组? 2022-01-01
- 更改自动增量起始编号? 2021-01-01
- 使用 Oracle PL/SQL developer 生成测试数据 2021-01-01
- 在SQL中,如何为每个组选择前2行 2021-01-01
- SQL 临时表问题 2022-01-01
- 远程 mySQL 连接抛出“无法使用旧的不安全身份验证连接到 MySQL 4.1+"来自 XAMPP 的错误 2022-01-01
- 如何将 SonarQube 6.7 从 MySQL 迁移到 postgresql 2022-01-01