Changes

Jump to navigation Jump to search
10 bytes removed ,  14:47, 25 July 2022
no edit summary
=Client=
If the [[Database Server|Database Client]] is executedlaunched, the user name and password you will be requested on command-line. The initial user/for a username and password combination is '''admin'''/'''admin'''. The following options are available:
<pre>
-R Toggle query execution
-s<args> Set serialization parameters
-U<name> Specify user nameusername
-v Toggle output of progress info
-V Toggle detailed query output
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 system.
{| class="wikitable"
|- valign="top"
| {{Code|-P&lt;pass&gt;}}
| Specifies the user password. If this flag is omitted, the password will be requested on command line. ''Warning'': when When the password is specified supplied with this flag, it may get visible to othersend up in logs or the bash history.
| {{Option|PASSWORD}}
|
| {{Code|-Uadmin -PadminP...}}
|- valign="top"
| {{Code|-q&lt;expr&gt;}}
|- valign="top"
| {{Code|-U&lt;name&gt;}}
| Specifies the user nameusername. If this flag is omitted, the user name username will be requested on command line.
| {{Option|USER}}
|
-s<port> Specify port to stop HTTP server
-S Start as service
-U<name> Specify user nameusername
-z Suppress logging
</pre>
|- valign="top"
| {{Code|-U&lt;name&gt;}}
| Specifies a user nameusername, which will be used by the HTTP services for opening a new session.
| {{Option|USER}}
|
=Changelog=
 
;Version 10.0
* Updated: Whitespaces are now preserved by default (see {{Option|STRIPWS}} for more details).
;Version 9.0
 
* Added: BaseXHTTP, command-line option {{Code|-c}}.
* Updated: BaseXHTTP, command-line option {{Code|-c}}, additionally accepts valid URLs and file references.
;Version 8.2
 
* Removed: Event ports, {{Code|-e}}.
;Version 8.1
 
* Added: Bind input strings to the query context with {{Code|-I}}.
;Version 8.0
 
* Removed: Command-line option <code>-L</code> (results will now be automatically separated by newlines).
;Version 7.9
 
* Added: Runs tests in file or directory with {{Code|-t}}.
* Removed: interactive server mode.
;Version 7.8
 
* Added: Specify if a query will be executed or parsed only with {{Code|-R}}.
;Version 7.7
 
* Added: Bind host to the [[#BaseX Server|BaseX Server]] with {{Code|-n}}.
;Version 7.5
 
* Added: detection of [[Commands#Basics|Command Scripts]].
* Removed: HTTP server flags {{Code|-R}}, {{Code|-W}}, and {{Code|-X}}.
; Version 7.3:
 
* Updated: all options are now evaluated in the given order.
* Updated: Create main-memory representations for specified sources with {{Code|-i}}.
; Version 7.2:
 
* Added: RESTXQ Service
; Version 7.1.1:
 
* Added: Options {{Code|-C}} and {{Code|-L}} in standalone and client mode.
; Version 7.1:
 
* Updated: Multiple query files and {{Code|-c}}/{{Code|-i}}/{{Code|-q}} flags can be specified.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu