mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-18 03:10:39 +01:00
(refs #1575)Use MaridDB JDBC driver instead of MySQL driver
to solve license issue
This commit is contained in:
@@ -39,7 +39,7 @@ libraryDependencies ++= Seq(
|
||||
"joda-time" % "joda-time" % "2.9.9",
|
||||
"com.novell.ldap" % "jldap" % "2009-10-07",
|
||||
"com.h2database" % "h2" % "1.4.195",
|
||||
"mysql" % "mysql-connector-java" % "6.0.6",
|
||||
"org.mariadb.jdbc" % "mariadb-java-client" % "2.0.3",
|
||||
"org.postgresql" % "postgresql" % "42.0.0",
|
||||
"ch.qos.logback" % "logback-classic" % "1.2.3",
|
||||
"com.zaxxer" % "HikariCP" % "2.6.1",
|
||||
|
||||
@@ -92,7 +92,7 @@ object DatabaseType {
|
||||
}
|
||||
|
||||
object MySQL extends DatabaseType {
|
||||
val jdbcDriver = "com.mysql.jdbc.Driver"
|
||||
val jdbcDriver = "org.mariadb.jdbc.Driver"
|
||||
val slickDriver = BlockingMySQLDriver
|
||||
val liquiDriver = new MySQLDatabase()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user