Open cubap opened 4 years ago
added repo to /etc/yum.repos
but cannot yum install with other versions there.
installed yum-utils to get yumdownloader for grabbing rpm
grr even manual install does not allow side by side
warning: mongodb-enterprise-4.4.1-1.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 90cfb1f5: NOKEY
error: Failed dependencies:
mongodb-enterprise-server = 4.4.1 is needed by mongodb-enterprise-4.4.1-1.el6.x86_64
mongodb-enterprise-shell = 4.4.1 is needed by mongodb-enterprise-4.4.1-1.el6.x86_64
mongodb-enterprise-mongos = 4.4.1 is needed by mongodb-enterprise-4.4.1-1.el6.x86_64
mongodb-enterprise-tools = 4.4.1 is needed by mongodb-enterprise-4.4.1-1.el6.x86_64
mongodb-enterprise-cryptd = 4.4.1 is needed by mongodb-enterprise-4.4.1-1.el6.x86_64
mongo-10gen-server conflicts with mongodb-enterprise-4.4.1-1.el6.x86_64
mongodb-org-server conflicts with mongodb-enterprise-4.4.1-1.el6.x86_64
mongodb-org-shell conflicts with mongodb-enterprise-4.4.1-1.el6.x86_64
mongodb-org-tools conflicts with mongodb-enterprise-4.4.1-1.el6.x86_64
mongo-10gen-enterprise conflicts with mongodb-org-server-2.6.12-1.x86_64
mongo-10gen-enterprise conflicts with mongodb-org-shell-2.6.12-1.x86_64
mongo-10gen-enterprise conflicts with mongodb-org-tools-2.6.12-1.x86_64
mongodb-enterprise conflicts with mongodb-org-server-2.6.12-1.x86_64
mongodb-enterprise conflicts with mongodb-org-shell-2.6.12-1.x86_64
mongodb-enterprise conflicts with mongodb-org-tools-2.6.12-1.x86_64
maybe I can get around it with a tarball...
nope. I mean, I got it in place, but I cannot start it without some trouble.
maybe I'll get an Atlas free tier for testing connections at least...
MongoClientURI uri = new MongoClientURI(
"mongodb+srv://rerumBot:<password>@cluster0.qytdr.mongodb.net/<dbname>?retryWrites=true&w=majority");
MongoClient mongoClient = new MongoClient(uri);
MongoDatabase database = mongoClient.getDatabase("test");
okay, we're sending this back and I'm moving to #167 instead.
and test/prepare connection from within Java