测试积点老人 发表于 2019-10-18 10:37:42

mysql安装时报“ mysqld: Can't read dir of '/etc/mysql/mysql.conf.d/'怎么解决

安装mysql时,装到mysql-community-server_5.6.43-1ubuntu14.04_amd64.deb时报错,错误如下:
(Reading database ... 105581 files and directories currently installed.)
Preparing to unpack mysql-community-server_5.6.43-1ubuntu14.04_amd64.deb ...
mysqld: Can't read dir of '/etc/mysql/mysql.conf.d/' (Errcode: 13 - Permission denied)
Fatal error in defaults handling. Program aborted
* MySQL Community Serveris already stopped
.
Unpacking mysql-community-server (5.6.43-1ubuntu14.04) over (5.6.43-1ubuntu14.04) ...
Setting up mysql-community-server (5.6.43-1ubuntu14.04) ...
mysqld: Can't read dir of '/etc/mysql/mysql.conf.d/' (Errcode: 13 - Permission denied)
Fatal error in defaults handling. Program aborted
.................................................................................................................................................................................... * MySQL Community Serverdid not start. Please check logs for more details.
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...请问大神这该怎么解决?

bellas 发表于 2019-10-21 09:19:36

参考一下这个链接 https://blog.csdn.net/miaodichiyou/article/details/81562540

litingting0214 发表于 2019-10-21 10:01:44

权限不够,加上特定的权限即可

qqq911 发表于 2019-10-21 10:36:57

检查环境配置

jingzizx 发表于 2019-10-21 12:42:53

查看目录权限

你好浮戈 发表于 2019-10-21 13:42:51

权限不够
页: [1]
查看完整版本: mysql安装时报“ mysqld: Can't read dir of '/etc/mysql/mysql.conf.d/'怎么解决