MyEnv (http://www.fromdual.com/myenv-mysql-basenv) with modifications