Database lock acquisition failure and hsqldb

前端 未结 8 2050
终归单人心
终归单人心 2020-12-30 00:00

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         


        
相关标签:
8条回答
  • 2020-12-30 00:35

    try using the following connection url in windows connection = DriverManager.getConnection("jdbc:hsqldb:file:///c:/hsqldb/mydb", "SA", "");

    0 讨论(0)
  • 2020-12-30 00:38

    If you have any other client running that connects to your db you need to close that.

    0 讨论(0)
提交回复
热议问题