Try to start mysql before starting slurmdbd.