imbajin commented on issue #2175:
URL: 
https://github.com/apache/incubator-hugegraph/issues/2175#issuecomment-1479289475

   because the first time u init/connect to the mysql, we don't have exist 
`database`, so we need execute `createDatabase()` first, then u can connect to 
it after init done 🔢 
   
   And u could:
   1. check/grep the log(`Connect to the jdbc url: xxx`) in the old version to 
see the differ (when init graph)
   2. check if `lib/*mysql-connector*.jar` exist in the old version, if yes, 
try to copy it in `1.0.0` and retry
   
   some refer:
   
   
https://github.com/apache/incubator-hugegraph/blob/9e4fb9647e76d8967c89056a33efa7d806bdd4de/hugegraph-mysql/src/main/java/org/apache/hugegraph/backend/store/mysql/MysqlSessions.java#L111
   
   
https://github.com/apache/incubator-hugegraph/blob/9e4fb9647e76d8967c89056a33efa7d806bdd4de/hugegraph-mysql/src/main/java/org/apache/hugegraph/backend/store/mysql/MysqlSessions.java#L189
   
   
   
https://github.com/apache/incubator-hugegraph/blob/9e4fb9647e76d8967c89056a33efa7d806bdd4de/hugegraph-mysql/src/main/java/org/apache/hugegraph/backend/store/mysql/MysqlSessions.java#L264
   
   


-- 
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]

Reply via email to