function start_mysql () {

if [ -x '/etc/init.d/mysql' ]; then

	# for SLC3
	/sbin/service mysql start
        /sbin/chkconfig mysql on 

elif [ -x '/etc/init.d/mysqld' ]; then

	# for SLC4 and compatible platforms
	/sbin/service mysqld start
        /sbin/chkconfig mysqld on 

else
	echo "MySQL server not found!"
	return 1
fi



return 0
}
