I'm developing an application server with node.js.  When the server 
starts, it creates a single connection to a BaseX database, to allow 
subsequent user queries to the database.

I notice that when I connect separately to the BaseX database with the 
BaseXClient command line tool, the application server connection dies 
with a 'broken pipe' error.

Am I doing this correctly, or should the application server connect then 
immediately disconnect from BaseX to serve each individual user query 
(in the same way that PHP works with MySQL)?



Reply via email to