Skip to main content

Connecting to an MDB database with the CLI tool

Overview​

bSQL is a blockchain SQL that leverages the power of relational data and blockchain security protocols. The following document explains how to connect to MDB from the CLI tool.

For support, please refer to StackOverflow.

Requirements​

  • If you haven't set up an MDB instance you can set one up on the blockpoint website. You will need information from your instance and account to connect via the command line.
  • You will need the cli tool as well.

Connecting​

mdb -u <username> -h <host_address>
Usage of mdb cli tool:
-u string
Username - DB login credentials username (default "system")
-h string
Host - Host server address (default "0.0.0.0")
-n string
DB Name - Default connection is to the master database (default "master")
-p string
Port - Server connection port (default "5461")
-cp string
Connection protocol (default "tcp")

Installation​

MDB CLI - Version 1.0.4​

Linux x86_64
Windows x86_64