Created
August 20, 2011 08:02
-
-
Save j5ik2o/1158830 to your computer and use it in GitHub Desktop.
mysql install_dbのログ
This file contains 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
junichi-macbook-pro:~ junichi$ 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.14/bin/mysqladmin -u root password 'new-password' | |
/usr/local/Cellar/mysql/5.5.14/bin/mysqladmin -u root -h junichi-macbook-pro.local password 'new-password' | |
Alternatively you can run: | |
/usr/local/Cellar/mysql/5.5.14/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.14 ; /usr/local/Cellar/mysql/5.5.14/bin/mysqld_safe & | |
You can test the MySQL daemon with mysql-test-run.pl | |
cd /usr/local/Cellar/mysql/5.5.14/mysql-test ; perl mysql-test-run.pl | |
Please report any problems with the /usr/local/Cellar/mysql/5.5.14/scripts/mysqlbug script! | |
junichi-macbook-pro:~ junichi$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment