Sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib /usr/lib/libmysqlclient.18.dylib It is left here in case you have an earlier version: The Redmine installer expects the MySQL client library in a different place, so you need to create a symbolic link to the original location: Actually, it is not even possible to do this symbolic link in OS X 10.10 and later with default system security. The following is not needed in mysql 5.7.9 OS X 10.10 and later. GRANT ALL PRIVILEGES ON redmine.* TO ' redmine ' ' localhost ' If the installer doesn't set a root password during the installation (later versions will display a random preset password the end of the installation), you've got to set it with mysqladmin:Ĭreate the database, the database user and set privileges:ĬREATE DATABASE redmine CHARACTER SET utf8 COLLATE utf8_general_ci ĬREATE USER ' redmine ' ' localhost ' IDENTIFIED BY ' my_password ' To make database administration easier you should include the database binaries in your path:Įxport PATH=/usr/local/mysql/bin:$PATH (To make your life easier in the long run you may want to include this command in your ~/.bash_profile file.) Make sure the Mysql-server is started before you proceed and that it is started after each machine restart.
#Mysqladmin osx install#
This will also install a nifty little preference pane to start and stop the MySQL server. Get the latest 64-bit DMG archive matching your version of OS X. Then install MySQL Community Server - get it from. Install Prerequisites ¶įirst, install the developer command line-tools via Terminal: This summary contains instructions for MySQL only, for PostgreSQL or SQLite please see related part of the official install guide. This is meant only as a supplement, not a replacement, to the official install guide found here.
This is slightly different from the install for Snow Leopard Server.
This is a quick summary of the necessary steps for a simple install of Redmine on Apple OS X Server and client, versions 10.9 - 10.11. Installing Redmine on OS X 10.9 Mavericks / 10.10 Yosemite / 10.11 El Capitan - Server and Client ¶