MySQL on Mac OS X
If you have installed the Startup Item, use this command:
shell>sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
(Enter your password, if necessary)
(Press Control-D or enter "exit" to exit the shell)
If you do not use the Startup Item, enter the following command sequence:
shell>cd /usr/local/mysql
shell>sudo ./bin/mysqld_safe
(Enter your password, if necessary)
(Press Control-Z)
shell>bg
(Press Control-D or enter "exit" to exit the shell)
You should be able to connect to the MySQL server, for example, by running/usr/local/mysql/bin/mysql
.alias mysql=/usr/local/mysql/bin/mysql alias mysqladmin=/usr/local/mysql/bin/mysqladmin
Sequel Pro is a database management app for MySQL databaseshttp://www.sequelpro.com/
posted on 2012-09-22 23:38 gembin 閱讀(842) 評(píng)論(0) 編輯 收藏 所屬分類: Database 、Mac OS X