Changes

Jump to navigation Jump to search
374 bytes removed ,  13:24, 12 November 2019
no edit summary
=Standalone=
Launches The following options are available for the standalone [[Command-Line Client]]:
<pre>
$ basex
BaseX [Standalone]
Try "help" to get more information.
> _</pre>
 
You can list the command-line options available for the standalone mode using {{Code|-h}}:
<pre>
$ basex -h
</pre>
The meaning of all options is Further details are listed in the following table. If an equivalent database option exists (which can be specified via the <code>[[Commands#SET|SET]]</code> command), it is listed as well.For the examples to work, it might be necessary to escape some characters depending on your Operating Systemoperating system.
{| class="wikitable"
=GUI=
;Launch the GUI:
The <code>basexgui</code> command has only one option. You can pass one or more XML and XQuery files as parameters. If an XML file is specified, a database instance is created from this file, or an existing database is opened. XQuery files following options are opened in available for the XQuery editor.standalone [[GUI|Graphical User Interface]]:
<pre>
$ basexgui -hBaseX [fileGUI]Usage: basexgui [-d] [files] [files] Open specified files -d Enable debugging
</pre>
 
You can pass one or more files as parameters. If an XML document is specified, a database instance can be created from this file. Other files are opened in the editor.
=Server=
;Launch The following options are available for the server<pre>$ basexserverBaseX [[Database Server]Server was started (port]: 1984)</pre>
You can list the available command-line options using {{Code|-h}}:
<pre>
$ basexserver -h
</pre>
The meaning of Details on all options is are listed in the following table (equivalent database options are shown in the table as well).For the examples to work, it might be necessary to escape some characters depending on your Operating Systemoperating system.
{| class="wikitable"
=Client=
;Launch If the console mode communicating with [[Database Server|Database Client]] is executed, the server The user name and password will be requestedon command-line. The default initial user/password combination is '''admin'''/'''admin'''. The following options are available:<pre>$ basexclientUsername: adminPassword: *****BaseX [Client]Try "help" to get more information.&gt; _</pre>
You can list the available command-line options using {{Code|-h}}:
<pre>
$ basexclient -h
</pre>
The meaning of all options is listed in See the following table for details (equivalent database options are shown in the table as well).For the examples to work, it might be necessary to escape some characters depending on your Operating Systemoperating system.
{| class="wikitable"
{{Mark|Introduced with Version 9.3:}} {{Code|-g}} option (GZIP enable support)
;Launch The following options are available for the [[Web Applications|HTTP server:<pre>$ basexhttpBaseX [Server]Server was started (port: 1984)HTTP Server was started (port]: 8984)</pre>
You can list the available command-line options using {{Code|-h}}:
<pre>
$ basexhttp -h
| {{Code|-c"open database"}}
|- valign="top"
| {{Code|-de}}| Turns on Enables the debugging mode. Debugging information is output to ''standard error''.
| {{Option|DEBUG}}
|
|
|- valign="top"
| {{Code|-g}}
| Enables GZIP (de)compression in Jetty.
| {{Option|GZIP}}
|
|
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu