Created
April 1, 2015 14:27
-
-
Save z0mbiehunt3r/e0e95ceffb6acf9ba94a to your computer and use it in GitHub Desktop.
mysql brew new installation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql_install_db --verbose --user=$USER --basedir=/usr/local/Cellar/mysql/5.X --datadir="/NEW/PATH/" --tmpdir=/tmp | |
cd /usr/local/Cellar/mysql/5.X/bin/ | |
vim mysql.server # change datadir | |
mysql.server start | |
/usr/local/Cellar/mysql/5.X/bin/mysqladmin -u root password 'ROOTPASSWORD' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment