Using the GUI to see a database created with Java
Hello everyone,
I have created and populated a database in my JAVA app by using it :
BaseXClient session = new BaseXClient("localhost", 1984, "admin", "admin");
session.execute("CREATE DB mydb input.xml");
*I would like to see my database through the baseX GUI...*
What have I to do ? If I click on Open, I don't see my database or I know it is well created :
session.execute("SHOW DATABASES")
** Show Databases ** 1 opened database(s): - mydb (1x)
Thanks for your help,
Johann
No one can help me ?
-------- Message original -------- Sujet: Using the GUI to see a database created with Java Date : Tue, 07 Feb 2012 15:38:53 +0100 De : Johann LEGAYE <johann.legaye at 4dconcept.fr> Pour : basex-talk at mailman.uni-konstanz.de
Hello everyone,
I have created and populated a database in my JAVA app by using it :
BaseXClient session = new BaseXClient("localhost", 1984, "admin", "admin");
session.execute("CREATE DB mydb input.xml");
*I would like to see my database through the baseX GUI...*
What have I to do ? If I click on Open, I don't see my database or I know it is well created :
session.execute("SHOW DATABASES")
** Show Databases ** 1 opened database(s): - mydb (1x)
Thanks for your help,
Johann
Hi Johann,
you have to make sure that the BaseXServer and the GUI are referencing to the same database folder. Check in the GUI in the Preferences Menu and in the Server with the command get dbpath.
Note: It is not recommended to use the BaseXServer and the GUI at the same time.
-- Andreas
Quoted text · Johann LEGAYE · 37 lines
Am 08.02.2012 um 10:07 schrieb Johann LEGAYE: > No one can help me ? > > -------- Message original -------- > Sujet: Using the GUI to see a database created with Java > Date : Tue, 07 Feb 2012 15:38:53 +0100 > De : Johann LEGAYE <johann.legaye at 4dconcept.fr> > Pour : basex-talk at mailman.uni-konstanz.de > > Hello everyone, > > I have created and populated a database in my JAVA app by using it : > > BaseXClient session = new BaseXClient("localhost", 1984, "admin", "admin"); > > session.execute("CREATE DB mydb input.xml"); > > I would like to see my database through the baseX GUI... > > What have I to do ? If I click on Open, I don't see my database or I know it is well created : > > session.execute("SHOW DATABASES") > > ** Show Databases ** > 1 opened database(s): > - mydb (1x) > > > Thanks for your help, > > Johann > > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Written for BaseX 7.0. BaseX may have changed since: please check the current documentation.