Created
August 20, 2012 15:41
-
-
Save CNBorn/3405246 to your computer and use it in GitHub Desktop.
homebrew:mysql_install_db results
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
cnborn@brahma ~$ mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp | |
Installing MySQL system tables... | |
OK | |
Filling help tables... | |
OK | |
To start mysqld at boot time you have to copy | |
support-files/mysql.server to the right place for your system | |
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! | |
To do so, start the server, then issue the following commands: | |
/usr/local/Cellar/mysql/5.5.25a/bin/mysqladmin -u root password 'new-password' | |
/usr/local/Cellar/mysql/5.5.25a/bin/mysqladmin -u root -h brahma.local password 'new-password' | |
Alternatively you can run: | |
/usr/local/Cellar/mysql/5.5.25a/bin/mysql_secure_installation | |
which will also give you the option of removing the test | |
databases and anonymous user created by default. This is | |
strongly recommended for production servers. | |
See the manual for more instructions. | |
You can start the MySQL daemon with: | |
cd /usr/local/Cellar/mysql/5.5.25a ; /usr/local/Cellar/mysql/5.5.25a/bin/mysqld_safe & | |
You can test the MySQL daemon with mysql-test-run.pl | |
cd /usr/local/Cellar/mysql/5.5.25a/mysql-test ; perl mysql-test-run.pl | |
Please report any problems with the /usr/local/Cellar/mysql/5.5.25a/scripts/mysqlbug script! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment