I think you want ${OPENSHIFT_MARIADB_DIR}?