#!/bin/sh if [ -e /etc/my.init ]; then INIT="--init-file=/etc/my.init" fi cd / umask 077 exec /usr/libexec/mysqld --basedir=/usr --datadir=/home/system/mysql5 --user=mysql --log-error=/home/system/mysql5/mysql.err --pid-file=/home/system/mysql5/mysql.pid --socket=/var/run/mysql/mysql.sock --port=3306 $INIT