Changes

Jump to navigation Jump to search
306 bytes added ,  14:00, 25 July 2022
no edit summary
==Server==
 
{{Announce|With Version 10, the default admin password has been removed.}}
The database server handles concurrent [[Transaction_Management|read and write transactions]], [[User Management|manages user permissions]] and [[Logging|logs user interactions]]. It can be started as follows:
* Run one of the {{Code|basexserver}} or {{Code|basexserver.bat}} scripts. Use {{Code|basexserverstop}} or {{Code|basexserverstop.bat}} to gracefully shut down the server.
* If you have installed BaseX on ''Windows'', click on the '''BaseX HTTP Server (Start)''' icon, which will start both the HTTP Server used for [[#Web Application|Web Applications]] and the database server. With '''BaseX HTTP Server (Stop)''', you can shut down the server process.
 
Unless you have already chosen an admin password yet (e.g., via the Windows installer or a previous installation), you can do so by invoking the {{Command|PASSWORD}} command on your terminal:
 
<pre>
basexserver -c PASSWORD
BaseX [Server]
Server was started (port: 1984).
Password: _
</pre>
By default, the server listens to the port {{Code|1984}}. Pressing {{Code|Ctrl+c}} will close all connections and databases and gracefully shut down the server process.
* If you have installed BaseX on ''Windows'', click on the '''BaseX Client''' icon.
At startup, you need to enter your credentials. The initial password of the {{Code|admin}} user is {{Code|admin}}; it can be changed with the {{Code|[[Commands#PASSWORD|PASSWORD]]}} command.
For further details, have a look at the [[Command-Line_Options#Client|command-line options]] and the [[Start_Scripts|start script]].
<pre>
basexclient -V -Uadmin -Padmin P... -c "CREATE DB input <example/>; XQUERY /"
Database 'input' created in 13.85 ms.
If you want to communicate with the database server programmatically, we provide clients for various [[Clients|programming languages]].
 
=Changelog=
 
;Version 10.0
* Updated: The default admin password has been removed.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu