Install upcoming release SQL if tests are running; otherwise run build-mysql