-
I installed MariaDB on my 10.15 home server and all is well, with one exception. I have to manually start it every time the system boots. Using the command: If that command looks familiar, it's probably because it is the exact same command the launchd plist included with the package, runs. And when put into the /Library/LaunchDeamons folder and given proper permissions, it should run it as root. Yet it does not. Their launchd script has the keepalive option set. And it does repeatedly try to launch mariadb and it quits or crashes or something, almost instantly, every time. Yes when I run the command manually, in the terminal.... live is good, it starts right up and everything works perfectly. Anyone know what's going on with this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I found a solution! I'm not sure how or why it works, but if you add 'sudo' to the command launchd runs, mariadb is able to start up normally! This doesn't make sense because these launchdeamons are already being run as root, so adding sudo shouldn't DO anything. Yet, it fixes it! Go figure.
|
Beta Was this translation helpful? Give feedback.
I found a solution! I'm not sure how or why it works, but if you add 'sudo' to the command launchd runs, mariadb is able to start up normally! This doesn't make sense because these launchdeamons are already being run as root, so adding sudo shouldn't DO anything. Yet, it fixes it! Go figure.