Client / Server

Tuesday, 19 October 2010 · 2 messages
NA
Nigel Alderton19 Oct 2010 14:02 #
Hi, I can't work out how to connect from a client to a server. I know that the server is running ok because I can connect to it locally using "localhost" but I can't connect from the client. This is what I'm doing on the client: 1. File menu --> Server Administration. 2. Administrator Logon password: admin 3. Administrator Logon hostname: 192.168.2.10 4. Click the Connect button. The message "Connected to 192.168.2.10:1984" is shown. If I then click on the database tab, the databases dropdown box shows "22 databases". One of which is called "bjd". I then close the Server Administration dialog box and in the command line type "open bjd" but I get "Error: Database bjd was not found." Help! What's going on? Regards Nigel
MS
Michael Seiferle19 Oct 2010 15:45 #
Hi Nigel, the GUI (apart from the Server Administration Dialog that only allows to administer users and database) only works locally. So queries or commands added in BaseX Gui are only executed in a local manner. To perform queries and retrieve results over the wire you should use the BaseX-Client. You can start it via:
Quoted text · Nigel Alderton · 1 line
> $ java -cp basex.jar org.basex.BaseXClient -n <hostname>
Further information on BaseXClient can be found here: http://www.inf.uni-konstanz.de/dbis/basex/server Hope this helps! Kind regards Michael
Quoted text · Nigel Alderton · 34 lines
Am 19.10.2010 um 14:02 schrieb Nigel Alderton: > Hi, > > I can't work out how to connect from a client to a server. > > I know that the server is running ok because I can connect to it locally > using "localhost" but I can't connect from the client. This is what I'm > doing on the client: > > 1. File menu --> Server Administration. > 2. Administrator Logon password: admin > 3. Administrator Logon hostname: 192.168.2.10 > 4. Click the Connect button. > > The message "Connected to 192.168.2.10:1984" is shown. > > If I then click on the database tab, the databases dropdown box shows "22 > databases". One of which is called "bjd". > > I then close the Server Administration dialog box and in the command line > type "open bjd" but I get "Error: Database bjd was not found." > > Help! What's going on? > > Regards > > Nigel > > > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

⚡Generated with XQuery