From dbbcbb94c3d28d06d8824f7374ad1698beb6222e Mon Sep 17 00:00:00 2001 From: "Lukas Rieger (Blue)" Date: Sat, 11 Mar 2023 11:43:46 +0100 Subject: [PATCH] Improve default sql.conf --- .../de/bluecolored/bluemap/config/storages/sql.conf | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/BlueMapCommon/src/main/resources/de/bluecolored/bluemap/config/storages/sql.conf b/BlueMapCommon/src/main/resources/de/bluecolored/bluemap/config/storages/sql.conf index f1d199d5..c83d01f4 100644 --- a/BlueMapCommon/src/main/resources/de/bluecolored/bluemap/config/storages/sql.conf +++ b/BlueMapCommon/src/main/resources/de/bluecolored/bluemap/config/storages/sql.conf @@ -9,18 +9,15 @@ storage-type: SQL # The JDBC-Connection URL that is used to connect to the database. -# The format for this url is usually something like: jdbc:[driver]://[host]:[port]/[database]?user=[user]&password=[password] +# The format for this url is usually something like: jdbc:[driver]://[host]:[port]/[database] # The exact format of the url is determined by the JDBC-Driver you are using. -# (You might need to URL-encode the user and password if it has special characters) -connection-url: "jdbc:mysql://localhost/bluemap?permitMysqlScheme" -#connection-url: "jdbc:mariadb://localhost/bluemap?user=root" -#connection-url: "jdbc:mysql://localhost:3306/bluemap?user=root&password=password" +connection-url: "jdbc:mysql://localhost:3306/bluemap?permitMysqlScheme" # You can set any additional (JDBC-Driver-specific) properties here # (if you have user/password in your connection-url, you don't need them here, and vice versa) connection-properties: { - #user: "root", - #password: "" + user: "root", + password: "" } # The maximum number of connections to the database that are allowed to be open at the same time.