【问题标题】:Hsqldb Server, alias does not existHsqldb 服务器,别名不存在
【发布时间】:2016-04-08 08:38:12
【问题描述】:

根据日志,服务器按预期使用别名“myrepos”启动。 但是如果我尝试连接到这个别名,我会得到一个错误,也可以在日志中看到(最后一行)。

可能是什么原因?

[Server@28fc19eb]: Initiating startup sequence...
[Server@28fc19eb]: Server socket opened successfully in 6 ms.
[Server@28fc19eb]: Database [index=0, id=0, db=file:/Users/t..../myrepos, alias=myrepos             ] opened sucessfully in 1238 ms.
[Server@28fc19eb]: Startup sequence completed in 1247 ms.
[Server@28fc19eb]: 2016-04-08 10:32:33.871 HSQLDB server 2.3.3 is online on port 9001
[Server@28fc19eb]: To close normally, connect and execute SHUTDOWN SQL
[Server@28fc19eb]: From command line, use [Ctrl]+[C] to abort abruptly
[Server@28fc19eb]: [Thread[HSQLDB Connection @2304d78b,5,HSQLDB Connections @28fc19eb]]: database alias=myrepos does not exist

【问题讨论】:

    标签: server hsqldb


    【解决方案1】:

    解决了。我的配置中的数据库名称后面有空格,它已合并到别名中:'alias=myrepos ]' 所以,别名实际上不是"myrepos",而是"myrepos "

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-02-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2010-12-02
    • 1970-01-01
    相关资源
    最近更新 更多