51Testing软件测试论坛

标题: mysql安装时报“ mysqld: Can't read dir of '/etc/mysql/mysql.conf.d/'怎么解决 [打印本页]

作者: yupanpan714    时间: 2019-1-26 16:09
标题: 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 Server  is 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 Server  did 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) ...

请问大神这该怎么解决?





欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2