Changes

Jump to navigation Jump to search
1,495 bytes added ,  13:54, 12 November 2019
=Startup=
First, launch a '''Server''' and '''Client''' instance of BaseXThe database server can be started as follows: double click on the '''BaseX Server/Client''' icons, or run the <code>basexserver</code> and <code>basexclient</code> scripts. [[Startup#BaseX Server|Follow this link]] for more information (or check out the additional [[Command-Line Options#BaseX Server|command-line options]]).
==* Run one of the {{Code|[[Start_Scripts#Linux.2FMac:_basex|basexserver]]}} or {{Code|[[Start Scripts#Windows: basex.bat|basexserver.bat]]}} scripts. Add the {{Code|stop}} keyword to gracefully shut down the server.* Execute the following command: {{Code|java -cp BaseX.jar org.basex.BaseXServer}}. Again, the {{Code|stop}} keyword will ensure a graceful shutdown.* 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. Various [[Command-Line_Options#Server|command-line options]] are available to simplify batch processing. The [[Start_Scripts#Server|start script]] can be adjusted for individual purposes (e.g. if the default memory limit is too restrictive). The client is started similarly: * Run one of the {{Code|[[Start_Scripts#Linux.2FMac:_basex|basexclient]]}} or {{Code|[[Start Scripts#Windows: basex.bat|basexclient.bat]]}} scripts.* Execute the following command: {{Code|java -cp BaseX.jar org.basex.BaseXClient}}* If you have installed BaseX on ''Windows'', click on the '''BaseX Client''' icon. The default {{Code|admin}} user can be used to connect to the server: <br/>* <b>Username:</b> {{Code|admin}}* <b>Password:</b> {{Code|admin}}The password should be changed with the {{Code|[[Commands#PASSWORD|PASSWORD]]}} command after the first login.<br/> For further details, have a look at the [[Command-Line Line_Options#Client|command-line options]] and the [[Start_Scripts#Client|start script]]. =Introduction=
The BaseX command-line client provides similar features to the [[Command-Line Client|standalone client]]. The major difference is that all commands will be executed by the BaseX server instance. As a consequence, paths/URIs to resources need to be resolvable by the server (file contents will not be transfered to the server).
Query "user" executed in 0.41 ms.</pre>
 
=Language Bindings=
 
If you want to communicate with the database server programmatically, we provide clients for various [[Clients|programming languages]].
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu