Trying to install MariaDB using Homebrew
I was trying to install MariaDB using this tutorial Installing MariaDB Server on Mac OS X with Homebrew, unfortunately I’ve encountered some problems. After brew install mariadb
a warning appears:
Warning: The post-install step did not complete successfully You can try again using `brew postinstall mariadb`
When running brew postinstall mariadb
it outputs:
==> Postinstalling mariadb ==> /usr/local/Cellar/mariadb/10.4.13/bin/mysql_install_db --verbose --user=xy --basedir=/usr/local/Cellar/mariadb/10. Last 15 lines from /Users/xy/Library/Logs/Homebrew/mariadb/post_install.01.mysql_install_db: shell> /usr/local/Cellar/mariadb/10.4.13/bin/mysql -u root mysql mysql> show tables; Try 'mysqld --help' if you have problems with paths. Using --general-log gives you a log in /usr/local/var/mysql that may be helpful. The latest information about mysql_install_db is available at https://mariadb.com/kb/en/installing-system-tables-mysql_install_db You can find the latest source at https://downloads.mariadb.org and the maria-discuss email list at https://launchpad.net/~maria-discuss Please check all of the above before submitting a bug report at http://mariadb.org/jira Warning: The post-install step did not complete successfully You can try again using `brew postinstall mariadb`
I found a solution on MariaDB homebrew install errors , but this doesn’t work for me as long as my /usr/local/etc/my.cnf
doesn’t even contain the lines to be commented out.
This is what’s in my /usr/local/var/mysql
log:
2020-07-14 14:39:32 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 2020-07-14 14:39:32 0 [Note] InnoDB: Uses event mutexes 2020-07-14 14:39:32 0 [Note] InnoDB: Compressed tables use zlib 1.2.11 2020-07-14 14:39:32 0 [Note] InnoDB: Number of pools: 1 2020-07-14 14:39:32 0 [Note] InnoDB: Using SSE2 crc32 instructions 2020-07-14 14:39:32 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M 2020-07-14 14:39:32 0 [Note] InnoDB: Completed initialization of buffer pool 2020-07-14 14:39:32 0 [ERROR] InnoDB: Invalid flags 0x4800 in ./ibdata1 2020-07-14 14:39:32 0 [ERROR] InnoDB: Plugin initialization aborted with error Data structure corruption 2020-07-14 14:39:32 0 [Note] InnoDB: Starting shutdown... 2020-07-14 14:39:32 0 [ERROR] Plugin 'InnoDB' init function returned error. 2020-07-14 14:39:32 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 2020-07-14 14:39:32 0 [Note] Plugin 'FEEDBACK' is disabled. 2020-07-14 14:39:32 0 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded 2020-07-14 14:39:32 0 [ERROR] /usr/local/Cellar/mariadb/10.4.13/bin/mysqld: unknown variable 'mysqlx-bind-address=127.0.0.1' 2020-07-14 14:39:32 0 [ERROR] Aborting
Does anybody have any advice please??