Skip to content

Instantly share code, notes, and snippets.

@bylatt
Last active August 29, 2015 13:58
Show Gist options
  • Select an option

  • Save bylatt/10002187 to your computer and use it in GitHub Desktop.

Select an option

Save bylatt/10002187 to your computer and use it in GitHub Desktop.
Manaully install mysql on OS X from binary.

#Install MySQL from binary on Maverick.

  1. Download MySQL from http://dev.mysql.com/downloads/mysql/
  2. Extract, rename folder, and place into directory you want.
  3. Add MySQL's bin and MySQL's man to your $PATH and $MANPATH.
  4. Go to scripts directory and execute mysql_install_db with parameters you want. For example
    ./mysql_install_db --verbose
    --user=clozed2u
    --basedir=/usr/local/mysql
    --datadir=/usr/local/var/mysql
    
  5. Start MySQL with command mysqld_safe.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment