set up database connection for openshift