Changes

Jump to navigation Jump to search
252 bytes added ,  00:38, 23 October 2011
|- valign="top"
| <code>-c</code>
| Starts the server in ''client mode'', and sends all commands to a database server instance. This option will set the system property <codefont color='orangered'>orgIntroduced with {{Version|7.basex0.mode1}}</code> to <code>client</codefont>.
|
|
|- valign="top"
| <code>-l</code>
| Starts the server in ''local mode'', and executes all commands in the embedded database context. This option will set the system property <code>org.basex.mode</code> to <code>local</code>.
|
|
|- valign="top"
| <code>-P&lt;pass&gt;</code>
| The user password, which will be used by the HTTP services to communicate with the BaseX Server. The password will be stored in the system property <code>org.basex.password</code>for opening a new session. ''Warning'': when the password is specified on command-line, it may be visible to others.
| <code>admin</code>
| <code>-Uadmin -Padmin</code>
|- valign="top"
| <code>-U&lt;name&gt;</code>
| The user name, which will be used by the HTTP services to communicate with the BaseX Server. The password will be stored in the system property <code>org.basex.user</code>for opening a new session.
| <code>admin</code>
| <code>-Uadmin</code>
|
|}
 
Some options can also be triggered by setting the following system properties:
 
* <code>org.basex.user</code>: user name for opening new sessions
* <code>org.basex.password</code>: user password for opening new sessions
* <code>org.basex.mode</code> ({{Version|7.0.1}}): by default, the HTTP server also starts an instance of the database server. If the mode is set to <code>local</code>, an embedded database context is used for executing commands. If the mode is set to <code>client</code>, all commands are sent to an existing database server instance.
[[Category:Beginner]]
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu