Skip to content

The Unified and Autonomous Development Platform

Add options to allow public key retrieval from MySQL in hibernate connection string

Robin Shen4484e1c2ac08
diff --git a/product/system/conf/hibernate.properties b/product/system/conf/hibernate.properties
index 1cc18bdd14..8ed8972861 100644
--- a/product/system/conf/hibernate.properties
+++ b/product/system/conf/hibernate.properties
@@ -22,7 +22,7 @@ hibernate.connection.password=
#hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
#hibernate.connection.driver_class=com.mysql.cj.jdbc.Driver
-#hibernate.connection.url=jdbc:mysql://localhost:3306/onedev?serverTimezone=UTC&useSSL=false&disableMariaDbDriver
+#hibernate.connection.url=jdbc:mysql://localhost:3306/onedev?serverTimezone=UTC&allowPublicKeyRetrieval=true&useSSL=false&disableMariaDbDriver
#hibernate.connection.username=root
#hibernate.connection.password=root