![]() ![]() ![]() |
![]() Running The ServerPF/Tijah runs on a light database backend: MonetDB. To get started, you have to start the MonetDB server and load the Pathfinder module (of course you first have to install the system, see Download). If your run PF/Tijah under Windows, you start the server via the start menu on the task bar (Start -> MonetDB -> MonetDB XQuery Server). In unix-based systems, open a terminal window and type: Mserver --dbinit="module(pathfinder);" Depending on your hardware and installation, you get get a report similar to the following. (Read the MonetDB4 documentation if the server does not start properly.) If you have not used MonetDB/XQuery before, it is also recommended to take a short look at the MonetDB/XQuery first steps page. # MonetDB Server v4.20.0 # based on GDK v1.20.0 # Copyright (c) 1993-2007, CWI. All rights reserved. # Compiled for i686-suse-linux-gnu/32bit with 32bit OIDs; dynamically linked. # Visit http://monetdb.cwi.nl/ for further information. # PF/Tijah module v0.3.0 loaded. http://dbappl.cs.utwente.nl/pftijah # MonetDB/XQuery module v0.20.0 loaded # XRPC administrative console at http://localhost:50001/admin Warnings like the following: <test> { for $i in (1, 2, 3) return $i } </test>
Under windows, you can run XQuery statements by double clicking the mclient -lxquery test.xq resulting in <test>1 2 3</test> You now can go on using the system as described in the Getting started. |