Hi List
In a .basex file we can set the destination of our database. If we then create a server, and create a database using a client, the BaseX-files will be created in that directory. Is it possible to get the path to this directory from within the client? In Perl I tried running the following command after looking through the basex client, but I got an 'undef':
my $session = Session->new($host, $port, $user, $pw); my $t = $session->info; $session->close;
print $t;
Any ideas how to get the configuration values for a basex server from a (Perl) client?
Thank you
Bram
Hi Bram,
Users with admin permissions can request the database path via "db:system()//dbpath".
Hope this helps, Christian
On Wed, Apr 19, 2017 at 2:13 PM, Bram Vanroy bram.vanroy1@student.kuleuven.be wrote:
Hi List
In a .basex file we can set the destination of our database. If we then create a server, and create a database using a client, the BaseX-files will be created in that directory. Is it possible to get the path to this directory from within the client? In Perl I tried running the following command after looking through the basex client, but I got an ‘undef’:
my $session = Session->new($host, $port, $user, $pw);
my $t = $session->info; $session->close; print $t;
Any ideas how to get the configuration values for a basex server from a (Perl) client?
Thank you
Bram
basex-talk@mailman.uni-konstanz.de