Changes

Jump to navigation Jump to search
104 bytes added ,  15:49, 10 January 2011
===Create a database===
* To create a database you need an XML document, e.g. [http://www.w3.org/XML/Binary/2005/03/test-data/Over100KOver100/factbook.xml factbook.xml].<br/>* Save this document to the /basex directory.* On the client terminal run: :<code>: > create db factbook factbook.xml
</code>
<br/>: ''factbook'' - is the name of the database <br/>: ''factbook.xml'' - is the xml file, which is used to create the database<br/>
If everything works you see the following lines:
;Where is the database stored?
It is Databases are stored in the BaseXData directory which is located in your home directoryfolder. Depending on your operating system the location of your home folder varies.In my case For example, on a mac it's in /Users/JohnDoe/BaseXData/factbookJohn, if your name is John.
===Execute a query===
administrator, Bureaucrats, editor, reviewer, Administrators
408

edits

Navigation menu