Difference between revisions of "CLI - Database"

Line 1: Line 1:
데이터베이스 연결 설정은 configure 명령어에서 설정할 수 있습니다.
+
You can manually change the IP address of a database. The imRAD has four types of databases.
  
 
<pre>
 
<pre>
Line 14: Line 14:
 
</pre>
 
</pre>
  
== Basic Commands ==
+
<pre>
* <code>configure# dci create 2 127.0.0.1</code>
+
LYSH@MyHostName# configure
 +
configure# dci create 2 127.0.0.1
 +
configure# exit
 +
LYSH@MyHostName# show dci 2
 +
</pre>

Revision as of 18:34, 19 April 2021

You can manually change the IP address of a database. The imRAD has four types of databases.

LYSH@MyHostName# configure
configure# dci create -h
usage: dci create [-h] type host

positional arguments:
  type        MainDB(0), LogDB(1), LocalDB(2), PeerDB(3)
  host        host

optional arguments:
  -h, --help  show this help message and exit
LYSH@MyHostName# configure	
configure# dci create 2 127.0.0.1
configure# exit
LYSH@MyHostName# show dci 2