当前位置:网站首页>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
边栏推荐
- 【C进阶】数组传参与函数指针
- New interface - API interface for "Taote" keyword search
- 精品MySQL面试题,备战八月99%必问!过不了面试算我的
- Based on all volunteers - H and D1 XR806 rare plant monitoring device
- 【Untitled】
- Pytorch framework learning record 2 - the use of TensorBoard
- error: The following untracked working tree files would be overwritten by
- Data Lake: Data Integration Tool DataX
- 【驱动】udev为USB转4串口的每个串口起别名
- Go书籍大全-从初级到高级以及Web开发
猜你喜欢

逆向理论知识3【UI修改篇】

2.6归并排序

handler+message【消息机制】

Atomic Guarantees of Redis Distributed Locks

What are Redis server startup after the operation?

使用EFR32作为Zigbee/Thread的sniffer的用法

High Concurrency Framework Disruptor

sqlmap use tutorial Daquan command Daquan (graphics)

Forum management system

Go书籍大全-从初级到高级以及Web开发
随机推荐
Pytorch framework learning record 4 - the use of datasets (torchvision.dataset)
Charles replaces the interface response information
PyG builds R-GCN to realize node classification
mysql 结构、索引详解
Pytorch framework learning record 5 - the use of DataLoader
我的Go+语言初体验——祝福留言小系统,让她也可以感受到你的祝福
数据库概论 - MySQL的简单介绍
vscode debugging and remote
函数的底层机制
逆向分析实战2
Mysql version upgrade, copy the Data file directly, the query is very slow
The leap second that may cause the next "Millennium Bug" is boycotted by tech giants
弘玑再度入围Gartner 2022 RPA魔力象限并实现位置大幅跃升
sql语句-如何以一个表中的数据为条件据查询另一个表中的数据
cnpm安装步骤
SQL Server data type conversion function cast () and convert () explanation
SSM框架简单介绍
Arrays and Structures
精品MySQL面试题,备战八月99%必问!过不了面试算我的
C. Qualification Rounds(思维,特情)