Checking MySQL version during both build and deployment