Skip to content

Instantly share code, notes, and snippets.

@scodx
Last active August 23, 2019 02:52
Show Gist options
  • Save scodx/732bc90c33cdc3fc8a168313217c54a6 to your computer and use it in GitHub Desktop.
Save scodx/732bc90c33cdc3fc8a168313217c54a6 to your computer and use it in GitHub Desktop.
MariaDB not starting on macOS after brew install/update/prune or macOS upgrade FIX

Issue

After a brew install, update, prune or some other operation like upgrading macOS, MariaDB is not starting and after looking at its logs I see something like:

mariadb: missing /usr/local/etc/my.cnf.d

A quick fix is to create the directory: mkdir /usr/local/etc/my.cnf.d, but be aware that this will happen again. I haven't found any fix on this.

Note

This only applies to MariaDB installations trough homebrew

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment