Błędy instalacyjne homeDrew MariaDB

Właśnie zainstalowałem MariaDB przez homebrew na moim Macu. Pod koniec instalacji otrzymałem następujący błąd:

Warning: The post-install step did not complete successfully
You can try again using `brew postinstall mariadb`

Jeśli ucieknębrew postinstall mariadb Dostaję:

==> /usr/local/Cellar/mariadb/5.5.34/bin/mysql_install_db --verbose --user=andrew --basedir=/usr/loca
MariaDB is hosted on launchpad; You can find the latest source and
email lists at http://launchpad.net/maria

Please check all of the above before mailing us!  And remember, if
you do mail us, you should use the /usr/local/Cellar/mariadb/5.5.34/scripts/mysqlbug script!

READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting

Które nie jest pomocne! Samouczek, który śledziłem, kazał mi biecunset TEMPDIR, następniemysql_install_db --user=mysql --basedir=$(brew --prefix mariadb); uruchomienie tych wyników:

/usr/local/opt/mariadb/bin/my_print_defaults: Can't read dir of '/usr/local/etc/my.cnf.d' (Errcode: 2)
Fatal error in defaults handling. Program aborted
chown: ./data: Operation not permitted
Cannot change ownership of the database directories to the 'mysql'
user.  Check that you have the necessary permissions and try again.

Podejrzewam, że problem ma coś wspólnego z/usr/local/etc/my.cnf.d teczka. Widziałem to w kilku rzeczach, których próbowałem, ale nie ma go na moim komputerze. Próbowałem kilku różnychmysql_install_db Polecenia, które znalazłem w innych samouczkach, ale wszystkie wyświetlają (inny) komunikat o błędzie.

Dzięki za pomoc!

questionAnswers(5)

yourAnswerToTheQuestion