数据库管理器无法连接到 hsqldb

Database Manager can't connect to hsqldb

将数据插入HSQLDB后,我尝试使用数据库管理器连接它,但连接失败。

我以独立模式启动了 hsqldb。这是错误消息:

Connection to HSQLDB (Local) - target failed Database lock acquisition failure: 
lockFile: org.hsqldb.persist.LockFile@a9e38b36[file =C:\Program Files (x86)\JetBrains\IntelliJ IDEA 15.0.2\bin\target\misc.lck, exists=false, locked=false, valid=false, ] 
method: openRAF 
reason: java.io.FileNotFoundException: C:\Program Files (x86)\JetBrains\IntelliJ IDEA 15.0.2\bin\target\misc.lck (The system cannot find the path specified)

如果您以独立模式启动 hsqldb。它会像你说的那样发生。

在此模式下。 DB 引擎将与应用程序共享相同的 jvm,该过程将比服务器模式更快。但不好的是你不能从外面访问它。包括数据库管理器。

如果你想通过工具查看数据。请以服务器模式启动数据库