当前位置:网站首页>MySQL installation error solution
MySQL installation error solution
2022-07-30 04:19:00 【m0_67403013】
The solution to the MySQL installation error
Foreword
mysql uses the installation package downloaded from the official website, mysql-installer-community-8.0.25.0.msi. The first installation was smooth, but for some reasons, it was uninstalled and reinstalled.An error occurred while reinstalling.The error message is as follows
Beginning configuration step: Writing configuration file
Saving my.ini configuration file… Object reference is not set to an instance of an object.Ended
configuration step: Writing configuration file
The error interface is shown below

Workaround
Find the my.ini file in the prompt, the location is as follows
C:ProgramDataMySQLMySQL Server 8.0
Copy the my.ini file to the desktop, then open it with the system default Notepad, then save as, select the encoding as ANSI
Exit the installer, then overwrite the my.ini on the desktop with the my.ini in the original C:ProgramDataMySQLMySQL Server 8.0 path.Install again.
The above error is resolved, but a mysql startup error will be reported.Open my.ini configuration failed to write successfully, mysql installation failed.
Final processing method: Directly copy the my.ini in the corresponding directory of mysql installed before to the installation machine.Reconfigure it again.Installed successfully.
Let me introduce myself first. The editor graduated from Shanghai Jiaotong University in 2013. I worked in a small company and went to big factories such as Huawei and OPPO. I joined Alibaba in 2018, until now.I know that most junior and intermediate java engineers want to upgrade their skills, they often need to explore their own growth or sign up to study, but for training institutions, the tuition fee is nearly 10,000 yuan, which is really stressful.Self-learning that is not systematic is very inefficient and lengthy, and it is easy to hit the ceiling and the technology stops.Therefore, I collected a "full set of learning materials for java development" for everyone. The original intention is also very simple. I hope to help friends who want to learn by themselves but don't know where to start, and at the same time reduce everyone's burden.Add the business card below to get a full set of learning materials
边栏推荐
- 2022.7.29-----leetcode.593
- 基于OpenCV实现的图像拼接(配准)案例
- The first day of Flink learning - what is batch and streaming computing?
- Mysql version upgrade, copy the Data file directly, the query is very slow
- QT(39)-vs开发qt程序提示无法打开源文件
- [Node accesses MongoDB database]
- Azure 开发者新闻快讯丨开发者7月大事记一览
- Thinkphp 5.0.24变量覆盖漏洞导致RCE分析
- Solve the problem of compiling and installing gdb-10.1 unistd.h:663:3: error: #error “Please include config.h first.”
- 商品管理系统数据库设计--SQL Server
猜你喜欢

05全局配置文件application.properties详解

验证addShutdownHook钩子生效

Operational configuration: How to run multiple EasyCVR programs as a service in one server?

Based on all volunteers - H and D1 XR806 rare plant monitoring device

高并发框架 Disruptor

Pytorch框架学习记录7——卷积层

How to Effectively Conduct Retrospective Meetings (Part 1)?
Go 学习笔记(84)— Go 项目目录结构

cnpm安装步骤

Azure 开发者新闻快讯丨开发者7月大事记一览
随机推荐
CMake installation and testing
error: The following untracked working tree files would be overwritten by
宇宙的尽头是银行?聊聊在银行做软件测试的那些事
PyG搭建R-GCN实现节点分类
Shell script basic editing specifications and variables
Reverse Theory Knowledge 3 [UI Modification]
High Concurrency Framework Disruptor
Pytorch框架学习记录4——数据集的使用(torchvision.dataset)
The difference between BGP room and ordinary room in Beijing
sqlmap use tutorial Daquan command Daquan (graphics)
Roperties类配置文件&DOS查看主机网络情况
Taobao/Tmall get Taobao store details API
MySQL 字符串拼接 - 多种字符串拼接实战案例
Arrays and Structures
Hongji was once again shortlisted in the Gartner 2022 RPA Magic Quadrant and achieved a significant jump in position
ospf 综合实验(重发布,特殊区域)
The first immersive and high-fidelity metaverse in China, Xiyuan Universe is officially launched
MySQL 操作语句大全(详细)
骁龙7系芯片表现如何?Reno8 Pro佐证新一代神U
C. Qualification Rounds(思维,特情)