【发布时间】: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
【问题讨论】: