Last active
October 18, 2016 11:37
-
-
Save matrixik/896d5b5a6064b155b0b2a62f8586c801 to your computer and use it in GitHub Desktop.
Systemd fix for MariaDB 5.5 with /var/run/mariadb permission denied errors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Add to {mysqld,mariadb}.service file | |
| ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mariadb | |
| # OR | |
| RuntimeDirectory=mariadb | |
| RuntimeDirectoryMode=755 | |
| # Fix in MySQL 5.6: | |
| # https://github.com/dannf/mysql-5.6/commit/9b5b989ff51bf62b0d52b5d87519af683f45ad59 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment