Differences

This shows you the differences between two versions of the page.

Link to this comparison view

mysql_os_x [2013/11/07 11:21] (current)
Line 1: Line 1:
 +====== MySQL OS X ======
  
 +  * [[MySQL]]
 +  * [[homebrew]]
 +
 +==== Percona 5.5 ====
 +
 +Install Percona through homebrew:
 +
 +<​code>​
 +brew install homebrew/​versions/​percona-server55
 +</​code>​
 +
 +Initial setup of database
 +
 +<​code>​
 +unset TMPDIR
 +mysql_install_db --verbose --user=`whoami` --basedir="​$(brew --prefix percona-server55)"​ --datadir=/​usr/​local/​var/​mysql --tmpdir=/​tmp
 +</​code>​
 +
 +Optionally secure MySQL server:
 +
 +<​code>​
 +/​usr/​local/​opt/​percona-server55/​bin/​mysql_secure_installation
 +</​code>​
 +
 +Start the daemon:
 +
 +<​code>​
 +cd /​usr/​local/​opt/​percona-server55 ; /​usr/​local/​opt/​percona-server55/​bin/​mysqld_safe &
 +</​code>​