Administrator Guide : Using solidDB® data management tools : solidDB® Remote Control (solcon) : Starting solidDB® Remote Control (solcon)
  
Starting solidDB® Remote Control (solcon)
Start solidDB® Remote Control (solcon) with the command solcon, followed by argument options.
The syntax for starting solcon is:
solcon [options] [network_name] [username] [password]
where
options can be:
Option syntax
Description
-c dir
Change working directory.
-e command string
Execute the specified ADMIN COMMAND.
-f filename
Execute command string from a script file.
-x pwdfile: filename
Read password from the filename.
-h, -?
Help = Usage.
network_name is the network name of a solidDB® server that you are connected to. The given network name must be enclosed in double quotation marks. Logical data source names can also be used with tools; refer to Managing network connections for further information.
username is required to identify the user and to determine the user is authorized. Without appropriate rights, command execution is denied.
password is the password of the user for accessing the database.
solcon connects to the first server specified in the Com.Connect parameter in the solid.ini file. If you specify no arguments, you are prompted for the database administrator user name and password. You can give connection information at the command line to override the connect definition in solid.ini.
Access rights
To use solcon, you must have SYS_ADMIN_ROLE or SYS_CONSOLE_ROLE rights, or the connection is refused.
Error messages
When there is an error in the command line, solcon gives you a list of the possible syntax options as a result. Check the command line you entered.
Exiting solcon
To exit solcon, enter the command exit.
Examples: solidDB® Remote Control (solcon)
Start solcon with the server name tcp localhost 1313, the administrator username admin and password iohi4y:
solcon "tcp localhost 1313" admin iohi4y
Start solcon to back up a specific database:
solcon -ebackup 'tcpip 1313" dbadmin iohi4y
See also
solidDB® Remote Control (solcon)