mysql启动报错:Can't create test file /xxx/mysql/xxx.lower-test mysqld : file 'xxxxx/mysql-bin.index' not fount (Errcode:13 -Permission denied)

1.mysql启动报错:

Can‘t create test file /xxx/mysql/xxx.lower-test 

。。。。

 

mysqld : file ‘xxxxx/mysql-bin.index‘ not fount (Errcode:13 -Permission denied)

2.解决办法:

(1)selinux限制了mysql的部分权限,可以关掉它。

1.编辑:/etc/selinux/config
2.找到:SELINUX=enforcing
3.修改:SELINUX=disabled
4.重启:init 6

  

 

mysql启动报错:Can't create test file /xxx/mysql/xxx.lower-test mysqld : file 'xxxxx/mysql-bin.index' not fount (Errcode:13 -Permission denied)

上一篇:c3p0是一种jdbc数据库连接池


下一篇:SqlSugar 语句收集