summaryrefslogtreecommitdiff
path: root/java/demo/Database/library/config.server
diff options
context:
space:
mode:
Diffstat (limited to 'java/demo/Database/library/config.server')
-rw-r--r--java/demo/Database/library/config.server11
1 files changed, 11 insertions, 0 deletions
diff --git a/java/demo/Database/library/config.server b/java/demo/Database/library/config.server
index 3438cd2f142..b8a0555d661 100644
--- a/java/demo/Database/library/config.server
+++ b/java/demo/Database/library/config.server
@@ -6,7 +6,18 @@ SessionFactory.Endpoints=tcp -h localhost -p 10000:ssl -h localhost -p 10001
# JDBC configuration.
JDBC.Username=USER
JDBC.Password=PASSWORD
+
+#
+# For mysql use the following configuration.
+#
JDBC.Url=jdbc:mysql://localhost/library
+JDBC.DriverClassName=com.mysql.jdbc.Driver
+
+#
+# For MariaDB use the following configuration.
+#
+#JDBC.Url=jdbc:mariadb://localhost/library
+#JDBC.DriverClassName=org.mariadb.jdbc.Driver
# The number of connections in the JDBC connection pool. This number
# should be at least as big as the number of the threads in the server