Original tools against MachNoSQL
The vendors’ own tools connect to MachNoSQL with the same options they use for the original database; only the host changes.
MongoDB
Section titled “MongoDB”mongosh "mongodb://app:secret@machnosql.example.com:27017/shop?authSource=admin"mongodump --uri "mongodb://app:secret@mongo.example.com:27017/?authSource=admin" --archive=shop.archive --gzipmongorestore --uri "mongodb://app:secret@machnosql.example.com:27017/?authSource=admin" --archive=shop.archive --gzipmongoimport --uri "mongodb://app:secret@machnosql.example.com:27017/shop?authSource=admin" --collection orders --file orders.jsonmongoexport --uri "mongodb://app:secret@machnosql.example.com:27017/shop?authSource=admin" --collection orders --out orders.jsonCompass: paste the same URI into “New connection”.
redis-cli -u "redis://:secret@machnosql.example.com:6379/0" PINGredis-cli -h machnosql.example.com -a secret --scan --pattern 'session:*'redis-cli -h machnosql.example.com -a secret --bigkeysredis-benchmark -h machnosql.example.com -a secret -t get,set -P 16 -qredis-cli -c -h machnosql.example.com -a secret CLUSTER SLOTS # cluster modeRedisInsight: add a database with host machnosql.example.com, port 6379.
Cassandra
Section titled “Cassandra”cqlsh machnosql.example.com 9042 -u app -p secret -e "DESCRIBE KEYSPACES"cqlsh machnosql.example.com 9042 -u app -p secret -e "COPY iot.readings TO 'readings.csv' WITH HEADER = true"DynamoDB
Section titled “DynamoDB”export AWS_ENDPOINT_URL_DYNAMODB=https://machnosql.example.com:8000aws dynamodb list-tablesaws dynamodb scan --table-name OrdersOr per command: aws dynamodb list-tables --endpoint-url https://machnosql.example.com:8000. NoSQL Workbench: add a connection with the same endpoint.
Elasticsearch / OpenSearch
Section titled “Elasticsearch / OpenSearch”curl -u elastic:secret https://machnosql.example.com:9200/_cat/indices?vKibana (kibana.yml): elasticsearch.hosts: ["https://machnosql.example.com:9200"]. OpenSearch Dashboards: opensearch.hosts with the same URL.
cypher-shell -a neo4j://machnosql.example.com:7687 -u app -p secret "MATCH (n) RETURN count(n)"Neo4j Browser: connect URL neo4j://machnosql.example.com:7687.