add check to see if mysqld is running in init script