start mysqld on Mac server

#!/bin/sh

 

# Source the common setup functions for startup scripts

test -r /etc/rc.common || exit 1

. /etc/rc.common

 

SCRIPT="/usr/local/Cellar/mysql/5.6.22/support-files/mysql.server"

 

ConsoleMessage "Starting MySQL database server"

#$SCRIPT start > /dev/null 2>&1

$SCRIPT start > my.log  2>&1

posted @ 2015-01-13 11:21  samu  阅读(270)  评论(0编辑  收藏  举报