chore: update mysql scope to test by simon824 · Pull Request #2043 · apache/hugegraph

Skip to content

Navigation Menu

Sign in

Appearance settings

Conversation

@codecov

@javeme

ci error:

Error: -02 09:29:17 [main] [ERROR] o.a.h.StandardHugeGraph - Failed to open schema transaction
org.apache.hugegraph.backend.BackendException: Failed to obtain database info
	at org.apache.hugegraph.backend.store.mysql.MysqlSessions.existsDatabase(MysqlSessions.java:150) ~[hugegraph-mysql-1.0.0.jar:1.0.0]
	at org.apache.hugegraph.backend.store.mysql.MysqlStore.open(MysqlStore.java:122) ~[hugegraph-mysql-1.0.0.jar:1.0.0]
	at org.apache.hugegraph.backend.tx.AbstractTransaction.<init>(AbstractTransaction.java:82) ~[hugegraph-core-1.0.0.jar:1.0.0]
	at org.apache.hugegraph.backend.tx.IndexableTransaction.<init>(IndexableTransaction.java:30) ~[hugegraph-core-1.0.0.jar:1.0.0]
	at org.apache.hugegraph.backend.tx.SchemaTransaction.<init>(SchemaTransaction.java:81) ~[hugegraph-core-1.0.0.jar:1.0.0]
	at org.apache.hugegraph.backend.cache.CachedSchemaTransaction.<init>(CachedSchemaTransaction.java:55) ~[hugegraph-core-1.0.0.jar:1.0.0]
	at org.apache.hugegraph.StandardHugeGraph.openSchemaTransaction(StandardHugeGraph.java:434) ~[hugegraph-core-1.0.0.jar:1.0.0]
	at org.apache.hugegraph.StandardHugeGraph.access$2700(StandardHugeGraph.java:112) ~[hugegraph-core-1.0.0.jar:1.0.0]
	at org.apache.hugegraph.StandardHugeGraph$TinkerPopTransaction.getOrNewTransaction(StandardHugeGraph.java:1435) ~[hugegraph-core-1.0.0.jar:1.0.0]
	at org.apache.hugegraph.StandardHugeGraph$TinkerPopTransaction.doOpen(StandardHugeGraph.java:1344) ~[hugegraph-core-1.0.0.jar:1.0.0]
	at org.apache.tinkerpop.gremlin.structure.util.AbstractTransaction.open(AbstractTransaction.java:95) ~[gremlin-core-3.5.1.jar:3.5.1]
	at org.apache.tinkerpop.gremlin.structure.Transaction$READ_WRITE_BEHAVIOR$1.accept(Transaction.java:213) ~[gremlin-core-3.5.1.jar:3.5.1]
	at org.apache.tinkerpop.gremlin.structure.Transaction$READ_WRITE_BEHAVIOR$1.accept(Transaction.java:210) ~[gremlin-core-3.5.1.jar:3.5.1]
	at org.apache.tinkerpop.gremlin.structure.util.AbstractThreadLocalTransaction.doReadWrite(AbstractThreadLocalTransaction.java:92) ~[gremlin-core-3.5.1.jar:3.5.1]
	at org.apache.tinkerpop.gremlin.structure.util.AbstractTransaction.readWrite(AbstractTransaction.java:136) ~[gremlin-core-3.5.1.jar:3.5.1]
	at org.apache.hugegraph.StandardHugeGraph.systemTransaction(StandardHugeGraph.java:497) ~[hugegraph-core-1.0.0.jar:1.0.0]
	at org.apache.hugegraph.StandardHugeGraph.backendStoreInfo(StandardHugeGraph.java:249) ~[hugegraph-core-1.0.0.jar:1.0.0]
	at org.apache.hugegraph.auth.HugeGraphAuthProxy.backendStoreInfo(HugeGraphAuthProxy.java:633) ~[hugegraph-api-1.0.0.jar:0.69.0.0]
	at org.apache.hugegraph.cmd.InitStore.initGraph(InitStore.java:102) ~[hugegraph-dist-1.0.0.jar:1.0.0]
	at org.apache.hugegraph.cmd.InitStore.main(InitStore.java:83) ~[hugegraph-dist-1.0.0.jar:1.0.0]
Caused by: org.apache.hugegraph.backend.BackendException: Invalid driver class 'com.mysql.jdbc.Driver'
	at org.apache.hugegraph.backend.store.mysql.MysqlSessions.connect(MysqlSessions.java:288) ~[hugegraph-mysql-1.0.0.jar:1.0.0]
	at org.apache.hugegraph.backend.store.mysql.MysqlSessions.openWithoutDB(MysqlSessions.java:194) ~[hugegraph-mysql-1.0.0.jar:1.0.0]
	at org.apache.hugegraph.backend.store.mysql.MysqlSessions.existsDatabase(MysqlSessions.java:141) ~[hugegraph-mysql-1.0.0.jar:1.0.0]
	... 19 more

imbajin

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it stable? (the mysql version & the download way/URI)

@simon824

is it stable?

@imbajin you mean mysql hugegraph-ci ?

javeme