当前位置:网站首页>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
边栏推荐
- Is the end of the universe a bank?Talk about those things about doing software testing in the bank
- Pytorch框架学习记录5——DataLoader的使用
- GCC Rust获批将被纳入主线代码库,或将于GCC 13中与大家见面
- How does the Snapdragon 7 series chip perform?Reno8 Pro proves a new generation of God U
- Reverse Theory Knowledge 3 [UI Modification]
- 逆向分析实战2
- golang八股文整理(持续搬运)
- High Concurrency Framework Disruptor
- Mini Program Graduation Works WeChat Points Mall Mini Program Graduation Design Finished Product (8) Graduation Design Thesis Template
- MySQL 安装报错的解决方法
猜你喜欢
随机推荐
Pytorch framework learning record 7 - convolutional layer
Why is the Kirin 9000 5G version suddenly back in stock?
How to compare struct, slice, map for equality and the difference between several comparison methods in golang
Boss Rush (二分答案 + 状压DP)
@WebServlet注解(Servlet注解)
Pytorch框架学习记录7——卷积层
Pytorch框架学习记录5——DataLoader的使用
ospf 综合实验(重发布,特殊区域)
(6) "Digital Electricity" - Diodes and CMOS Gate Circuits (Introduction)
day10--install mysql on linux
【C语言】程序环境和预处理
2022.7.29-----leetcode.593
Pytorch framework learning record 3 - the use of Transform
Thinkphp 5.0.24变量覆盖漏洞导致RCE分析
【Untitled】
PyG builds R-GCN to realize node classification
CMake installation and testing
vscode debugging and remote
机器学习:知道通过低方差过滤实现降维过程
New LaaS protocol Elephant Swap provides ePLATO with sustainable premium space



![[Node accesses MongoDB database]](/img/00/41000fc7a038f4d46151ab479174b9.png)





