当前位置:网站首页>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,直接拷贝到安装机器上面。再重新配置一下。成功安装。
边栏推荐
- Paddle frame experience evaluation and exchange meeting, the use experience of the product is up to you!
- 2022-07-29日报:AlphaFold最新重大进展:完成几乎所有已知的2亿多蛋白质结构预测,完全开放
- DAY 20 daily SQL clock 】 【 丨 query difficulty moderate 】 【 team integral
- 小程序云函数实现微信支付如此简单
- 命里有时终须有--记与TiDB的一次次擦肩而过
- The IDEA of Database plug-in Database Navigator plug-in
- [Cloud native] Introduction and use of Feign of microservices
- JS advanced four (map, reduce, filter, sort, arrow function, class inheritance, yield)
- TiCDC synchronization delay problem
- 365天挑战LeetCode1000题——Day 043 有效的正方形 数学
猜你喜欢
随机推荐
Error EPERM operation not permitted, mkdir ‘Dsoftwarenodejsnode_cache_cacach两种解决办法
2.2 Selection sort
APP local number one-click login
365天挑战LeetCode1000题——Day 043 有效的正方形 数学
MySQL 视图(详解)
吴恩达老师机器学习课程笔记 06 逻辑回归
什么是DOM
网络层和传输层限制
Interceptors and filters (3) @interface custom annotation interception
【每日SQL打卡】DAY 25丨求团队人数【难度中等】
"Pure theory" FPN (Feature Pyramid Network)
投资127亿!深圳,再添一所985
【每日SQL打卡】DAY 20丨查询结果的质量和占比【难度简单】
DAY 25 daily SQL clock 】 【 丨 different sex daily score a total difficulty moderate 】 【
Distributed Configuration Center of Infrastructure
MySQL基础(DDL、DML、DQL)
MySql string splitting realizes the split function (field splitting, column switching, row switching)
JVM内存模型如何分配的?
Basic knowledge of redis database learning - basic, commonly used
The IDEA of Database plug-in Database Navigator plug-in









