玖陆壹贰 2022-03-10 14:25 采纳率: 68.2%
浏览 535
已结题

MySQL重装不上了,显示如下,试过好几次都这样,之前该删的文件也都删了,还是不行。


D:\software\MySQL\mysql-8.0.28-winx64\bin>mysqld --initialize --console
mysqld: Can't create directory 'D:\mysql-8.0.26-winx64\mysql-8.0.26-winx64\data\' (OS errno 2 - No such file or directory)
2022-03-10T06:22:27.710799Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.
2022-03-10T06:22:27.711077Z 0 [System] [MY-013169] [Server] D:\software\MySQL\mysql-8.0.28-winx64\bin\mysqld.exe (mysqld 8.0.28) initializing of server in progress as process 11852
2022-03-10T06:22:27.711918Z 0 [ERROR] [MY-010338] [Server] Can't find error-message file 'D:\mysql-8.0.26-winx64\mysql-8.0.26-winx64\share\errmsg.sys'. Check error-message file location and 'lc-messages-dir' configuration directive.
2022-03-10T06:22:27.724579Z 0 [ERROR] [MY-013236] [Server] The designated data directory D:\mysql-8.0.26-winx64\mysql-8.0.26-winx64\data\ is unusable. You can remove all files that the server added to it.
2022-03-10T06:22:27.725042Z 0 [ERROR] [MY-010119] [Server] Aborting
2022-03-10T06:22:27.729194Z 0 [System] [MY-010910] [Server] D:\software\MySQL\mysql-8.0.28-winx64\bin\mysqld.exe: Shutdown complete (mysqld 8.0.28)  MySQL Community Server - GPL.
  • 写回答

1条回答 默认 最新

  • 浪客 2022-03-10 14:38
    关注

    创建文件夹失败,D:\mysql-8.0.26-winx64\mysql-8.0.26-winx64\data
    手动建立文件夹,或者管理员方式的命令行执行安装

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

问题事件

  • 系统已结题 3月18日
  • 已采纳回答 3月10日
  • 创建了问题 3月10日

悬赏问题

  • ¥15 使用ue5插件narrative时如何切换关卡也保存叙事任务记录
  • ¥20 软件测试决策法疑问求解答
  • ¥15 win11 23H2删除推荐的项目,支持注册表等
  • ¥15 matlab 用yalmip搭建模型,cplex求解,线性化处理的方法
  • ¥15 qt6.6.3 基于百度云的语音识别 不会改
  • ¥15 关于#目标检测#的问题:大概就是类似后台自动检测某下架商品的库存,在他监测到该商品上架并且可以购买的瞬间点击立即购买下单
  • ¥15 神经网络怎么把隐含层变量融合到损失函数中?
  • ¥15 lingo18勾选global solver求解使用的算法
  • ¥15 全部备份安卓app数据包括密码,可以复制到另一手机上运行
  • ¥20 测距传感器数据手册i2c