
10:56:36 140735707972544 InnoDB: GCC builtin _atomic_thread_fence() is used for memory barrier 10:56:36 140735707972544 InnoDB: Using mutexes to ref count buffer pool pages This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator. 10:56:36 7fff95e183c0 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. 10:56:36 140735707972544 'THREAD_CONCURRENCY' is deprecated and will be removed in a future release. Installing MariaDB/MySQL system tables in '/usr/local/var/mysql'. Manually run mysql_install_db > mysql_install_db -general-log

Run Post Install via Homebrew > brew postinstall mariadb Or, if you don't want/need a background service you can just run: To have launchd start mariadb now and restart at login: You can try again using `brew postinstall mariadb`Ī "/etc/my.cnf" from another install may interfere with a Homebrew-built Warning: The post-install step did not complete successfully Please check all of the above before submitting a bug report MariaDB is hosted on launchpad You can find the latest source and The latest information about mysql_install_db is available at

general-log gives you a log in /usr/local/var/mysql that may be helpful. Try 'mysqld -help' if you have problems with paths. Shell> /usr/local/Cellar/mariadb/10.1.18/bin/mysql -u root mysql Last 15 lines from /Users/username/Library/Logs/Homebrew/mariadb/post_install.01.mysql_install_db: => /usr/local/Cellar/mariadb/10.1.18/bin/mysql_install_db -verbose -user=username -basedir=/usr/local/Cellar/mariadb/10.1.18 -datadir=/usr/local/var/mysql -tmpdir=/ > brew install mariadbĪlready downloaded: /Users/username/Library/Caches/Homebrew/mariadb-10.1.18. The common error seems to be mysqld got signal 4 which makes me think that there is an incompatibility between MariaDB and the gcc?įails to run the post-install step. Also not sure what was done differently to allow MariaDB to start that one time. Running optimize/ analyze/ repair didn't seem to do anything.
#How to install mariadb on mac el capitan password
I was able to start the service and even create a new database and user, but when trying to set the user password the database would crash saying that er was corrupt. Everything is up to date and I have tried multiple times. As it did not contain critical data, I removed it and attempted to reinstall via homebrew, however the post-install fails and I am unable to run mysql_install_db manually either. If the install name isn't correct then you'll need to ensure that your linker search path is set up to find your modified version of libmysqlclient.18.dylib ahead of any other versions you may have.After updating to Sierra, MariaDB would no long start on my system. You should then be able to verify that the install name written in to your application binary is rather than /usr/lib/libmysqlclient.18.dylib (using otool -L YourApp.app/Contents/MacOS/YourApp again). This is typically done using a Copy Files build phase in your Xcode project. Copy the modified libmysqlclient.18.dylib in to the Frameworks subdirectroy in your application bundle.

This is typically done by running install_name_tool -id libmysqlclient.18.dylib. Change the shared library identifier of libmysqlclient.18.dylib so that dyld will look for the binary relative to your application binary.app bundle in a way that your application will use it rather than looking in /usr/lib you need to: The fact you needed to symlink libmysqlclient.18.dylib in to /usr/lib suggests that the shared library identifier of libmysqlclient.18.dylib is something like /usr/lib/libmysqlclient.18.dylib. You can see this information using otool -L YourApp.app/Contents/MacOS/YourApp. At run time the dynamic linker, dyld, attempts to load each shared library from the paths specified in the application binary. At build time the static linker on OS X, ld, writes the shared library identifier of each library that your application links against in to the application binary.
