安装失败问题

来源:1-1 MySQL数据库简介及安装

C_LANNAD

2020-03-21 02:14:13

D:\mysql-8.0.19-winx64>mysqld --initialize --console

mysqld: Can't create directory 'D:\mysql-8.0.17-winx64\Data\' (OS errno 2 - No s

uch file or directory)

2020-03-20T18:09:23.347842Z 0 [System] [MY-013169] [Server] D:\mysql-8.0.19-winx

64\bin\mysqld.exe (mysqld 8.0.19) initializing of server in progress as process

1584

2020-03-20T18:09:23.347843Z 0 [ERROR] [MY-010338] [Server] Can't find error-mess

age file 'D:\mysql-8.0.17-winx64\share\errmsg.sys'. Check error-message file loc

ation and 'lc-messages-dir' configuration directive.

2020-03-20T18:09:23.347844Z 0 [Warning] [MY-013242] [Server] --character-set-ser

ver: 'utf8' is currently an alias for the character set UTF8MB3, but will be an

alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to

 be unambiguous.

2020-03-20T18:09:23.349840Z 0 [ERROR] [MY-013236] [Server] The designated data d

irectory D:\mysql-8.0.17-winx64\Data\ is unusable. You can remove all files that

 the server added to it.

2020-03-20T18:09:23.351840Z 0 [ERROR] [MY-010119] [Server] Aborting

2020-03-20T18:09:23.351842Z 0 [System] [MY-010910] [Server] D:\mysql-8.0.19-winx

64\bin\mysqld.exe: Shutdown complete (mysqld 8.0.19)  MySQL Community Server - G

PL.

cmd提示的这个怎么解决

写回答

7回答

C_LANNAD

提问者

2020-03-21

我自己百度已经装好了  麻烦老师了  解答能快点就好了 等时间太长了 

0

C_LANNAD

提问者

2020-03-21

http://img.mukewang.com/climg/5e75db4b091c8b1d07760728.jpg

http://img.mukewang.com/climg/5e75db4b09adb52606150621.jpg

我这个mysql文件夹下用命令stall完之后只生成了一个Data文件 是不是有问题  正常安装会不会再生成新的文件夹

0

好帮手慕阿满

2020-03-21

同学你好,同学是在启动MySQL服务时报错吗?问一下同学配置环境变量时,mysql的bin路径是否写错了?

建议同学检查一下。

祝:学习愉快~

0
h_LANNAD
h 直接分号加bin地址的 如果写错了 我也不能走到mysqld-stall这一步啊 stall完 他没有按ini文件设置的地址安装 看提示信息是抓到C盘目录下了 但是C盘目录里也没有这个文件啊 所以没法启动 一直报找不到指定文件
h020-03-21
共1条回复

C_LANNAD

提问者

2020-03-21

http://img.mukewang.com/climg/5e759de0092829e710000715.jpg存在的目录 怎么显示在C盘 而且也没有找到这个路径  我以前没有装过啊 启动就提示找不到系统文件

0

好帮手慕阿满

2020-03-21

同学你好,建议同学使用如下命令试试:

mysql  -uroot -pe:;r9lmg<atR

使用明文密码登陆试试。

如果我的回答解决了你的疑惑,请采纳。祝:学习愉快~

0
h_LANNAD
h 提示系统找不到指定文件 之前截图有发 没法启动啊
h020-03-21
共1条回复

C_LANNAD

提问者

2020-03-21

http://img.mukewang.com/climg/5e75101309695f5106770442.jpg

http://img.mukewang.com/climg/5e75101309b03ef506770442.jpg

最下方是我粘贴的密码 应该是没有错的 登不了

0

C_LANNAD

提问者

2020-03-21

http://img.mukewang.com/climg/5e750cdb098729f306770442.jpg上个问题已经找到原因 现在是卡在这里了  C盘下并没有这个文件夹啊 这是什么情况

0

0 学习 · 8016 问题

查看课程