Skip to content

Instantly share code, notes, and snippets.

@eduardo
Created September 13, 2009 22:25
Show Gist options
  • Save eduardo/186353 to your computer and use it in GitHub Desktop.
Save eduardo/186353 to your computer and use it in GitHub Desktop.
edu@snowdrop /usr/local/Cellar/mysql/5.1.37/bin
$ ./mysql_install_db
Installing MySQL system tables...
090914 0:23:15 [Warning] Forcing shutdown of 1 plugins
OK
Filling help tables...
090914 0:23:15 [Warning] Forcing shutdown of 1 plugins
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.1.37/bin/mysqladmin -u root password 'new-password'
/usr/local/Cellar/mysql/5.1.37/bin/mysqladmin -u root -h snowdrop.local password 'new-password'
Alternatively you can run:
/usr/local/Cellar/mysql/5.1.37/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.1.37 ; /usr/local/Cellar/mysql/5.1.37/bin/mysqld_safe &
You can test the MySQL daemon with mysql-test-run.pl
cd /usr/local/Cellar/mysql/5.1.37/mysql-test ; perl mysql-test-run.pl
Please report any problems with the /usr/local/Cellar/mysql/5.1.37/bin/mysqlbug script!
The latest information about MySQL is available at http://www.mysql.com/
Support MySQL by buying support/licenses from http://shop.mysql.com/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment