Trying to fix use of mysql environment vars