Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sql:
- # H2, MySQL, MariaDB, and PostgreSQL are supported database drivers.
- driver: MySQL
- ## MySQL/PostgreSQL settings ##
- # If using H2, the database will be stored in the LiteBans plugin folder,
- # and most of these settings won't apply.
- # Database server address.
- address: 159.65.87.133:3306
- # Database name, username and password.
- database: 'hibernus_litebans'
- username: 'hibernus_Lotnest'
- password: '(CENSORED)'
- table_prefix: 'litebans_'
- # LiteBans utilizes connection pooling for extra performance and reliability.
- # min_connections: Minimum amount of pooled connections.
- # max_connections: Maximum amount of pooled connections. See: https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing
- # timeout: Connection timeout.
- # idle_timeout: Maximum amount of time a pooled connection can remain idle before it is closed for inactivity.
- pool:
- min_connections: 1
- max_connections: 10
- timeout: 30 seconds
- idle_timeout: 1 minute
- # Database engine. Only applies to MySQL.
- engine: InnoDB
- options: 'useSSL=false'
- # Format: <name>:<class>[:URL:version]
- # SQLite is only included here for backwards compatibility, it is no longer supported (use H2 instead).
- drivers:
- - version:1
- - 'mysql:com.mysql.jdbc.Driver:https://repo1.maven.org/maven2/mysql/mysql-connector-java/{}/mysql-connector-java-{}.jar:8.0.11'
- - 'pgsql:org.postgresql.Driver:https://repo1.maven.org/maven2/org/postgresql/postgresql/{}/postgresql-{}.jar:9.4-1201-jdbc41'
- - 'mariadb:org.mariadb.jdbc.Driver:https://repo1.maven.org/maven2/org/mariadb/jdbc/mariadb-java-client/{}/mariadb-java-client-{}.jar:2.0.3'
- - 'sqlite:org.sqlite.JDBC:https://repo1.maven.org/maven2/org/xerial/sqlite-jdbc/{}/sqlite-jdbc-{}.jar:3.8.11.1'
- - 'h2:org.h2.Driver:https://repo1.maven.org/maven2/com/h2database/h2/{}/h2-{}.jar:1.4.196'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement