Use sudo instead of su
Don't use a specific MySQL version
Use the service command instead of the init.d script