MAC OSX打开和关闭MySQL的方法

1. ADD below to .bash_profile:

export MYSQL_HOME=/usr/local/mysql
alias start_mysql='sudo $MYSQL_HOME/bin/mysqld_safe &'
alias stop_mysql='sudo $MYSQL_HOME/bin/mysqladmin shutdown'


2. BEST MySQL client on MAC OSX:

http://www.sequelpro.com

你可能感兴趣的:(MAC OSX打开和关闭MySQL的方法)