mysql 安装问题二:mysqld: Can't create directory 'E:Softwaremysql-5.7.24-winx64data' (Errc(示例代
Posted cppdy
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mysql 安装问题二:mysqld: Can't create directory 'E:Softwaremysql-5.7.24-winx64data' (Errc(示例代相关的知识,希望对你有一定的参考价值。
原因:my.ini文件中的basedir(设置mysql的安装目录)、datadir(设置mysql数据库的数据的存放目录)与MySQL解压后的路径不一致
解决办法:
将basedir=E:Softwaremysql-5.7.24-winx64 改为 basedir=D:Softwaremysql-5.7.24-winx64 (改为MySQL解压后的路径)
将datadir=E:Softwaremysql-5.7.24-winx64data 改为 datadir=D:Softwaremysql-5.7.24-winx64data (改为MySQL解压后的路径data)
以上是关于mysql 安装问题二:mysqld: Can't create directory 'E:Softwaremysql-5.7.24-winx64data' (Errc(示例代的主要内容,如果未能解决你的问题,请参考以下文章
《Docker系列》Docker安装MySQL报错:mysqld failed while attempting to check config....mysqld: Can‘t read dir
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'解决
mysqld: Can‘t read dir of ‘/etc/mysql/conf.d/‘ (Errcode: 13 - Permission denied)
Can't find mysqld.sock: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.s
Linux下安装mysql失败,提示找不到mysqld.sock
mysql- Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'(