I was trying to connect to a hsql db. I created one by running from C:\\myhsql:
java -cp .;C:\\hsql\\lib\\hsqldb.jar org.hsqldb.Server -database.0 file:db\\m
I face this error because I wanted to view a currently opened database in another client like IntelliJ database
while the server is using the same db
so to make hsql db able to be connected to multiple clients, use
hsqldb.lock_file=false
so the connection url will be like
jdbc:hsqldb:file:./db/myDbInFile;hsqldb.lock_file=false