当前位置:网站首页>MySQL 安装报错的解决方法
MySQL 安装报错的解决方法
2022-07-29 12:20:00 【web13618542420】
MySQL 安装报错的解决方法
前言
mysql 使用的是官网下载的安装包,mysql-installer-community-8.0.25.0.msi ,第一次安装时很顺利,因为某些原因要卸载重新安装。在重新安装时出现错误。错误提示如下
Beginning configuration step: Writing configuration file
Saving my.ini configuration file… 未将对象引用设置到对象的实例。 Ended
configuration step: Writing configuration file
出错的界面如下图所示

解决方法
找到提示中的my.ini文件,位置如下
C:ProgramDataMySQLMySQL Server 8.0
把my.ini文件copy到桌面,然后用系统默认的记事本打开,然后另存为,选择编码为ANSI
退出安装程序,然后把桌面的my.ini 覆盖掉原来C:ProgramDataMySQLMySQL Server 8.0 路径下的my.ini。再重新安装。
上面报错解决,但是会报mysql启动错误。打开my.ini配置未能写成功,mysql安装失败。
最后的处理方法: 直接把之前安装好的mysql对应目录下的my.ini,直接拷贝到安装机器上面。再重新配置一下。成功安装。
边栏推荐
- 【每日SQL打卡】DAY 20丨查询结果的质量和占比【难度简单】
- PD 源码分析- Checker: region 健康卫士
- piglit_get_gl_enum_from_name 参数遍历
- 【C语言】扫雷游戏实现(初阶)
- 【c ++ primer 笔记】第6章 函数
- 365 days challenge LeetCode1000 topic - Day 043 square mathematics effectively
- MySQL database installation (detailed)
- 【多线程】——Callable创建多线程
- Js array commonly used API
- MIT指出公开预训练模型不能乱用
猜你喜欢

MySql字符串拆分实现split功能(字段分割转列、转行)

Interceptors and filters (3) @interface custom annotation interception

【云原生】微服务之Feign的介绍与使用

3D激光SLAM:LeGO-LOAM论文解读---硬件系统部分

记账APP:小哈记账3——登录页面的制作

【day04】IDEA, method

365 days challenge LeetCode1000 topic - Day 043 square mathematics effectively

How is the JVM memory model allocated?

Basic Concepts of Kubernetes

MySql string splitting realizes the split function (field splitting, column switching, row switching)
随机推荐
WordPress 版本更新
容器化 | 在 Rancher 中部署 MySQL 集群
【多线程】——Callable创建多线程
MIT指出公开预训练模型不能乱用
DAY 27 daily SQL clock 】 【 丨 within a specified period of time all order products [difficult simple]
【每日SQL打卡】DAY 21丨报告系统状态的连续日期【难度困难】
WPF 截图控件之绘制方框与椭圆(四) 「仿微信」
DAY 22 丨 daily SQL clock 】 【 the average selling price of the difficulty of medium 】
什么是DOM
金仓数据库KingbaseES客户端编程接口指南-ODBC(6. KingbaseES ODBC 的扩展属性)
我和 TiDB 的故事 | TiDB 对我不离不弃,我亦如此
[Cloud native] Introduction and use of Feign of microservices
一文带你搞懂JSON和TCP/IP
【多线程】——synchronized关键字
【实用工具】Image Assistant下载指定页面的所有图片
How is the JVM memory model allocated?
[纯理论] FCOS
MLX90640 红外热成像仪测温传感器模块开发笔记(九)
Bookkeeping APP: Xiaoha Bookkeeping 3 - Production of Login Page
峰米V10、极米Rs Pro2及当贝X3 Pro究竟孰优孰劣?