See "systemctl status mysqld.service" and "journalctl -xe" for details.

版权声明:@抛物线 https://blog.csdn.net/qq_28513801/article/details/88980069

查看文件权限
[root@localhost mysql]# ll
total 155700
-rw-r-----. 1 root root 56 Oct 3 07:52 auto.cnf
-rw-r-----. 1 mysql mysql 0 Oct 3 07:52 binlog.index
-rw-------. 1 root root 1680 Oct 3 07:52 ca-key.pem
-rw-r–r–. 1 root root 1112 Oct 3 07:52 ca.pem

drwxr-x—. 2 root root 28 Oct 3 07:52 sys
-rw-r-----. 1 root root 10485760 Oct 3 07:52 undo_001
-rw-r-----. 1 root root 10485760 Oct 3 07:52 undo_002

修改一下文件的权限:
chown -R mysql ./*

即可正常解决

猜你喜欢

转载自blog.csdn.net/qq_28513801/article/details/88980069