51Testing软件测试论坛

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

作者: 测试积点老人    时间: 2019-10-18 10:37
标题: mysql安装时报“ mysqld: Can't read dir of '/etc/mysql/mysql.conf.d/'怎么解决
安装mysql时,装到mysql-community-server_5.6.43-1ubuntu14.04_amd64.deb时报错,错误如下:
  1. (Reading database ... 105581 files and directories currently installed.)
  2. Preparing to unpack mysql-community-server_5.6.43-1ubuntu14.04_amd64.deb ...
  3. mysqld: Can't read dir of '/etc/mysql/mysql.conf.d/' (Errcode: 13 - Permission denied)
  4. Fatal error in defaults handling. Program aborted
  5. * MySQL Community Server  is already stopped
  6. .
  7. Unpacking mysql-community-server (5.6.43-1ubuntu14.04) over (5.6.43-1ubuntu14.04) ...
  8. Setting up mysql-community-server (5.6.43-1ubuntu14.04) ...
  9. mysqld: Can't read dir of '/etc/mysql/mysql.conf.d/' (Errcode: 13 - Permission denied)
  10. Fatal error in defaults handling. Program aborted
  11. .................................................................................................................................................................................... * MySQL Community Server  did not start. Please check logs for more details.
  12. Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
  13. Processing triggers for ureadahead (0.100.0-16) ...
复制代码
请问大神这该怎么解决?

作者: bellas    时间: 2019-10-21 09:19
参考一下这个链接 https://blog.csdn.net/miaodichiyou/article/details/81562540
作者: litingting0214    时间: 2019-10-21 10:01
权限不够,加上特定的权限即可
作者: qqq911    时间: 2019-10-21 10:36
检查环境配置
作者: jingzizx    时间: 2019-10-21 12:42
查看目录权限
作者: 你好浮戈    时间: 2019-10-21 13:42
权限不够




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