Select connecting to Mysql based on environment