liming1010 commented on issue #2549:
URL:
https://github.com/apache/incubator-hugegraph/issues/2549#issuecomment-2146523816
已经连接上了,有个新问题
```
2024-06-04 11:31:34 [main] [INFO] o.c.o.l.Uns - OHC using JNA OS native
malloc/free
2024-06-04 11:31:34 [main] [INFO] o.a.h.b.c.CacheManager - Init LevelCache
for 'vertex-hugegraph' with capacity 10000:10000000
2024-06-04 11:31:34 [main] [INFO] o.a.h.b.c.CacheManager - Init LevelCache
for 'edge-hugegraph' with capacity 1000:1000000
2024-06-04 11:31:34 [main] [INFO] o.a.h.b.c.CacheManager - Init RamCache for
'users-hugegraph' with capacity 10240
2024-06-04 11:31:34 [main] [INFO] o.a.h.b.c.CacheManager - Init RamCache for
'users_pwd-hugegraph' with capacity 10240
2024-06-04 11:31:34 [main] [INFO] o.a.h.b.c.CacheManager - Init RamCache for
'token-hugegraph' with capacity 10240
2024-06-04 11:31:34 [main] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the
jdbc url:
'jdbc:postgresql://192.168.105.187:5432/core?currentSchema=hugegraph&loggerLevel=OFF&socketTimeout=0&useSSL=false'
2024-06-04 11:31:34 [main] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the
jdbc url:
'jdbc:postgresql://192.168.105.187:5432/core?currentSchema=hugegraph&loggerLevel=OFF&socketTimeout=0&useSSL=false'
2024-06-04 11:31:34 [main] [INFO] o.a.h.b.s.m.MysqlSessions - Connect to the
jdbc url:
'jdbc:postgresql://192.168.105.187:5432/hugegraph?loggerLevel=OFF&characterEncoding=utf-8&rewriteBatchedStatements=true&useServerPrepStmts=false&autoReconnect=true&maxReconnects=3&initialTimeout=3&useSSL=false'
2024-06-04 11:31:34 [main] [INFO] o.a.h.StandardHugeGraph - Close graph
standardhugegraph[hugegraph]
Exception in thread "main" org.apache.hugegraph.backend.BackendException:
Failed to connect database 'hugegraph'
at
org.apache.hugegraph.backend.store.mysql.MysqlStore.init(MysqlStore.java:169)
at
org.apache.hugegraph.backend.store.postgresql.PostgresqlStoreProvider$PostgresqlSystemStore.init(PostgresqlStoreProvider.java:198)
at
org.apache.hugegraph.backend.store.AbstractBackendStoreProvider.init(AbstractBackendStoreProvider.java:117)
at
org.apache.hugegraph.StandardHugeGraph.initBackend(StandardHugeGraph.java:361)
at org.apache.hugegraph.cmd.InitStore.initBackend(InitStore.java:125)
at org.apache.hugegraph.cmd.InitStore.initGraph(InitStore.java:110)
at
org.apache.hugegraph.cmd.InitStore.main(InitStore.java:80)2024-06-04 11:31:34
[main] [INFO] o.a.h.HugeFactory - HugeFactory shutdown
```
指定了数据库jdbc:postgresql://192.168.105.187:5432/core?currentSchema=hugegraph,为什么jdbc:postgresql://192.168.105.187:5432/hugegraph有变成了这个了?
这是我的配置
```
jdbc.driver=org.postgresql.Driver
jdbc.url=jdbc:postgresql://192.168.105.187:5432/
jdbc.username=
jdbc.password=
jdbc.postgresql.connect_database=core?currentSchema=hugegraph
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]