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) ...请问大神这该怎么解决?
参考一下这个链接 https://blog.csdn.net/miaodichiyou/article/details/81562540 权限不够,加上特定的权限即可 检查环境配置 查看目录权限 权限不够
页:
[1]