在centos7.6下安装mysql8.0,安装完成后修改数据库存储目录,在配置/etc/my.cnf文件中修改datadir ,socket
centos下修改mysql8.0数据库存储目录后出现问题:File './mysql-bin.index' not found (OS errno 13 -Permission denied)

修改后进行初始化,初始化完成后启动数据库报如下错误:
centos下修改mysql8.0数据库存储目录后出现问题:File './mysql-bin.index' not found (OS errno 13 -Permission denied)
解决方案:
将/etc/selinux/config中这里改为 disabled,然后重启机器就可以了
centos下修改mysql8.0数据库存储目录后出现问题:File './mysql-bin.index' not found (OS errno 13 -Permission denied)

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-28
  • 2021-04-06
  • 2021-10-11
  • 2021-11-04
  • 2022-12-23
猜你喜欢
  • 2021-07-08
  • 2022-01-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案