varundavda's avatar

Brew install mariadb error

Hello all,

I am trying to install MariaDB using brew, and I am getting the following error.

WARNING: The host 'Varuns-MacBook-Pro.local' could not be looked up with resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MariaDB version. The MariaDB daemon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MariaDB privileges !
chown: /usr/local/var/mysql: Operation not permitted
Cannot change ownership of the database directories to the 'varundavda'
user.  Check that you have the necessary permissions and try again.
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall mariadb`

When I run

brew postinstall mariadb

I get the below output.

WARNING: The host 'Varuns-MacBook-Pro.local' could not be looked up with resolveip.
This probably means that your libc libraries are not 100 % compatible
with this binary MariaDB version. The MariaDB daemon, mysqld, should work
normally with the exception that host name resolving will not work.
This means that you should use IP addresses instead of hostnames
when specifying MariaDB privileges !
chown: /usr/local/var/mysql: Operation not permitted
Cannot change ownership of the database directories to the 'varundavda'
user.  Check that you have the necessary permissions and try again.

READ THIS: https://docs.brew.sh/Troubleshooting.html

These open issues may also help:
kitchen-sync bottle with mariadb - Library not loaded https://github.com/Homebrew/homebrew-core/issues/13680

Please help. I am stuck on this since 2 days.

0 likes
0 replies

Please or to participate in this conversation.