首页 > 代码库 > start mysqld on Mac server

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

start mysqld on Mac server