參考:https://easyengine.io/tutorials/mac/osx-brew-php-mysql-nginx/
run following command:
mysql服務管理
start mysql: <code>/usr/local/mysql/support-files/mysql.server start</code>
stop mysql: <code>/usr/local/mysql/support-files/mysql.server stop</code>
see other options – <code>/usr/local/mysql/support-files/mysql.server -h </code>
比如啟動mysql服務:
localhost:downloads whuanghkl$ mysql.server start
starting mysql
. success!
設定mysql密碼
run following command to improve security of your mysql setup. it will present you wizard to set mysql root password among other things.