Adapting to deploy with MySQL