Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

MariaDB: Fixed post-install failure on OS X 10.9 #25151

Closed
wants to merge 2 commits into from

Conversation

deiga
Copy link
Contributor

@deiga deiga commented Dec 11, 2013

Added mkdir to create brew --prefix/etc/my.cnf.d
This prevents the post-install step of failing

Fixes #25140

Added `mkdir` to create `brew --prefix`/etc/my.cnf.d
This prevents the post-install step of failing
@jacknagel
Copy link
Contributor

It works fine for me without this change; we should try to determine the root cause before pulling this.

@jacknagel
Copy link
Contributor

Hmm, I neglected to remove /usr/local/var/mysql first and so post_install wasn't actually running.

This is indeed the right fix, however it should probably done in install instead near this code:

https://github.com/mxcl/homebrew/blob/3872723ba2e5e3baa079826f7bb65dae49fbb50a/Library/Formula/mariadb.rb#L104-L107

and can simply be (etc/'my.cnf.d').mkpath.

@jacknagel
Copy link
Contributor

Fixed by 935f8f1

@jacknagel jacknagel closed this Dec 12, 2013
@Homebrew Homebrew locked and limited conversation to collaborators Feb 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mariadb postinstall step fails on 10.9
2 participants