Comments - Mariadb upgrade problem
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
So error 13 is a permission denied.
I'd normally assume Systemd's ProtectHome however you seem to be on /var/lib/mysql.
Ensure the [[selinux/#file-system-permission-errors|selinux content] of the /var/lib/mysql directory is correct with:
restorecon -Rv /var/lib/mysql
After trying a restart after that, if unsuccessful look at /var/log/audit/audit.log to see if selinux is block other interactions. It might be the file label on mariadbd executable isn't correctly.
I tried:
restorecon -Rv /var/lib/mysql
and am still getting the same error. As far as I can tell, my file permissions are also fine.
I have selinux disabled:
but if `restorecon -Rv /var/lib/mysql` isn't potentially damaging, I'll give it a try.
retorecon changes the extended attributes on the files only.