Hi Raj (cc to the list),
> Yes, I did. I have created a Session class (provided online) but unable to connect it to the existing database.
> // create session
> Session session = new Session("localhost", 1984, "admin", "admin");
>
> It doesn't find the localhost on my machine. I guess, I am missing something. Do I need to install SQL server first?
BaseX is the database, so there’s no need for SQL server. Did you
start a BaseX server instance? Our documentation might give you more
insight, see the "Getting Started" Section.