当前位置:网站首页>mysqld: Can‘t create directory ‘D: oftinstall\mysql57 (Errcode: 2 - No such file or directory)
mysqld: Can‘t create directory ‘D: oftinstall\mysql57 (Errcode: 2 - No such file or directory)
2022-06-12 04:16:00 【一天不写代码难受】
目录
1 解决
安装完mysql之后,要初始化数据文件,输入
mysqld --initialize-insecure --user=mysql
然后可能会出现如下错误**:
mysqld: Can’t create directory ‘E: oft\mysql\mysql-5.7.19-winx64\data’ (Errcode: 2 - No such file or directory)
就是斜杠的错误
将
basedir=E:\soft\mysql\mysql-5.7.19-winx64\
改为
basedir=E:\\soft\\mysql\\mysql-5.7.19-winx64\\ (改为MySQL解压后的路径)
将
datadir=E:\soft\mysql\mysql-5.7.19-winx64\data\
改为
datadir=E:\\soft\\mysql\\mysql-5.7.19-winx64\\data\\ (改为MySQL解压后的路径\data)
边栏推荐
- (idea)the file size(2.85M) exceeds configured limit(2.56M). Code insight features are not available
- Cryptology Summary
- Message queuing overview
- 关于 国产麒麟Qt编译报错“xxx.pri has modification time xxxx s in the futrue“ 的解决方法
- Emperor Wu of Wei knew that he could not correct it, so he stopped offering his words
- WiFi module scheme of the wireless Internet of things, esp32-s3 chip technology, helps the equipment to be intelligent
- Kotlin 启动协程、launch 与async的区别、按照顺序启动协程
- [C language] analysis of variable essence
- How do I extract files from the software?
- Smart panel WiFi linkage technology, esp32 wireless chip module, Internet of things WiFi communication application
猜你喜欢

【FPGA+FFT】基于FPGA的FFT频率计设计与实现

WiFi module scheme of the wireless Internet of things, esp32-s3 chip technology, helps the equipment to be intelligent

关于 国产麒麟Qt编译报错“xxx.pri has modification time xxxx s in the futrue“ 的解决方法

SQL Safe Backup显示器和缩放字体的支持

Emperor Wu of Wei knew that he could not correct it, so he stopped offering his words

Goodbye to excel and PPT, I found a better visual fool software

【C语言】封装接口(加减乘除)

19.tornado项目之优化数据库查询

Enterprise Architect v16

电商中台系统架构
随机推荐
Epidemic data analysis platform work report [2] interface API
DS18B20数字温度计 (一) 电气特性, 供电和接线方式
Centernet2 practice: take you through the training of custom datasets with centernet2
【FPGA+FFT】基于FPGA的FFT频率计设计与实现
关于线程池需要注意的几点
动规(14)-三角形最佳路径问题
Sqel easy to use
Is there a row limit for a single MySQL table
Create a new table in the database. There was no problem before. Today
Work report of epidemic data analysis platform [4] cross domain correlation
魏武帝 太祖知不可匡正,遂不复献言
Notes on relevant knowledge points such as original code / inverse code / complement code, size end, etc
Double objective learning materials sorting
Kotlin starts the process, the difference between launch and async, and starts the process in sequence
Mosaïque d'images basée sur la matrice de transformation
路灯照明物联网技术方案,ESP32-S3芯片通信应用,智能WiFi远程控制
疫情数据分析平台工作报告【4】跨域相关
基于SSH实现健身俱乐部管理系统
分布式锁介绍
后续版本是否会支持代码块搜索高亮显示