Why am I receiving "error connected to db server: no reachable servers" after importing GZipped Archive file(.agz) to Studio 3T? - mongodb

I have my database running on a docker container and I want to upload data stored in GZipped Archive file (.agz) to Studio 3T using Mongodump import. However, when I click execute it returns an error: "Import mongodump archive error connecting to db server: no reachable servers".
I have tried unzipping file, re-establishing local connection to docker container, dropping collection before importing, and all the other types of imports.
After trying the "Another Collection" import, importing the file appears to be successful with a green checkmark but logs 0 files uploaded. Every other import gives the
Import mongodump archive error connecting to db server: no reachable servers
Does anyone have any experience with this?

Related

Failed to import the URI. Unable to look up TXT record for host cluster0-ohzuo.mongodb.net

I am trying to connect Mongodb Atlas cluster to Studio 3t.
I copied mongodb+srv://:#cluster0-ohzuo.mongodb.net/test from Mongodb account in "connect to cluster"
In Studio 3t,I went to connection manager > new connection > Import URI and pasted the above string.
I am getting the following error :
Failed to import the URI. Unable to look up TXT record for host cluster0-ohzuo.mongodb.net
I solved the problem by changing the Java version in the connection method from "3.7 or later" to "3.4 or later":

restore database gives error UnsupportedOperationException

I'm following this less than precise tutorial Data Mining The City
I've create the database from the studio and it shows in my
databases folder as "soufun_db".
I downloaded the soufun.zip file into the directory db that I
created in the orientdb folder
Then I connect to the"soufun_db" database from the console
"CONNECT remote:localhost/soufun_db admin admin"
Then I run my restore database command
"RESTORE DATABASE /home/mustafa/Desktop/orientdb-community-2.1.0/db/soufun.zip
Output is:
"Restoring database database /home/.../soufun.zip
Error: java.lang.UnsupportedOperationException: restore"
BACKUP and RESTORE operations are supported only via plocal connection.
http://orientdb.com/docs/last/Console-Command-Restore.html

Where should I move the mongodb dump in production remote server?

I created a mongodb dump of database in my localmachine. It was put in dump folder as "myProject". Within myProject I had two files one ending with .bson and other with metadata.json.
I moved the myProject folder to my remote server.
I used mongorestore on myProject folder.
I have installed mongodb in my remote server.
I got error /dbpath (/data/db/) does not exist and I fixed them using first solution given here.
Now how will mongodb in remote server know the location of my restored dump?
Should I move the .json and .bson file to a new folder named same as the database name ("myProject" placed inside /data/db/)?
If I need to move the restored dump where should I move them?
Mine is a spring web app and I am running in tomcat sever. So far in my localmachine, the spring bean had the host value as "localhost". Should it be changed to my remote server Ip address, when I am running the application in remote server or Is it fine if the value is localhost?

Orient db import data

I am trying to do export/import in orient db 1.7.4 community edition between to different orient db servers running same version.
I did export database dbone which created dbone.json.gz file.
connected to other server created a new database and ran import database dbone.json.gz
it terminated with below error.
Error on importing database 'dbthree' from file: dbthree.json.gz
Error while removing cluster '10'
E:\Installs\orientdb-community-1.7.4\orientdb-community-1.7.4\databases\dbthree\e.0.ocl: The process cannot access the file because it is being used by another process.
This exception:
The process cannot access the file because it is being used by another process.
Means you've a console or server open that locks the database.

Google Cloud MySql Instance An unknown error occurred when importing

I created a mysql instance and everything is running on it. I used the process outlined in the cloud sql import to create a mysqldump file from my local production mysql instance running on windows.
mysqldump --databases xxxxx -uroot -p --hex-blob --default-character-set=utf8 > d:\database_file_feb2_2014.sql
Uploaded the file to the cloud storage and every time I try to import I get a Unknown error.
Things I have checked.
1) Made sure the USE database; command was in the file after the
CREATE DATABASE IF NOT EXISTS databasename;
command.
2) Made sure i was using the --hex-blob command.
created a export of smaller test db which was only 4.5MB instead of the 6GB file i was trying to import. Ran the first few lines from the sql prompt which ran fine.
Still unable to isolate at which line the import is breaking or Why
When I try to view the log from the old console, I get "An error has occurred. Please retry later."
I have dumped the whole instance and recreated the instance and still get the same error.
Origin OS: Windows Server 2003 R2
Running Mysql 5.1
Any advise on how I can troubleshoot this and move forward.
Thank you