Changes

Jump to navigation Jump to search
1,402 bytes added ,  21:46, 23 January 2011
==BaseX Client==
;Console command Launch interactive mode
:<code>
> basexclient
</code>
Next, the The user name and password has to be enteredis requested. By The default, the user '''admin''' has '''admin''' as password, unless it has been changed:
<pre>Username: admin
&gt; _</pre>
All available Available command-line flags can be listed by adding <code>-h</code> to the call:
:<code>
> basexclient -h
-z Skip output of results
</pre>
 
The command-line flags have the following meaning:
 
{| class="wikitable"
|- valign="top"
! width='60' | Flag
! Description
! width='165' | Examples
|- valign="top"
| <code>[file]</code>
| Execute the specified XQuery file.
|
|- valign="top"
| <code>-c&lt;cmd&gt;</code>
| Launch database commands and skip interactive mode. The flag should be placed last, all remaining characters are interpreted as commands. Several commands can be separated by semicolons.
| <code>-c"list;info"</code>
|- valign="top"
| <code>-d</code>
| Turn on debugging. Debugging information is output to standard error (<code>STDERR</code>).
|
|- valign="top"
| <code>-n&lt;name&gt;</code>
| Specify the server name on which the server is running.
| <code>-nserver.basex.org</code>
|- valign="top"
| <code>-p&lt;num&gt;</code>
| Specify the port on which the server is running.
| <code>-p9999</code>
|- valign="top"
| <code>-P&lt;pass&gt;</code>
| Specify the user password. ''Warning'': when the password is specified on command-line, it may be visible to others.
| <code>-Uadmin -Padmin</code>
|- valign="top"
| <code>-q&lt;expr&gt;</code>
| Execute the specified string as XQuery expression. The flag should be placed last, as all remaining characters are interpreted as XQuery.
| <code>-Uadmin -Padmin</code>
|- valign="top"
| <code>-U&lt;name&gt;</code>
| Specify the user name.
| <code>-Uadmin</code>
|}
==BaseX Standalone==
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu