Making mysql server check work properly.