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

你可能感兴趣的:(server)