Advertisement
Guest User

Untitled

a guest
Apr 20th, 2018
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.84 KB | None | 0 0
  1. sql:
  2. # H2, MySQL, MariaDB, and PostgreSQL are supported database drivers.
  3. driver: MySQL
  4.  
  5. ## MySQL/PostgreSQL settings ##
  6. # If using H2, the database will be stored in the LiteBans plugin folder,
  7. # and most of these settings won't apply.
  8.  
  9. # Database server address.
  10. address: 192.99.13.108
  11.  
  12. # Database name, username and password.
  13. database: 'litebans'
  14. username: 'litebans'
  15. password: 'litebans123'
  16.  
  17. table_prefix: 'prisongr_'
  18.  
  19. # LiteBans utilizes connection pooling for extra performance and reliability.
  20. # min_connections: Minimum amount of pooled connections.
  21. # max_connections: Maximum amount of pooled connections. See: https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-Sizing
  22. # timeout: Connection timeout.
  23. # idle_timeout: Maximum amount of time a pooled connection can remain idle before it is closed for inactivity.
  24. pool:
  25. min_connections: 1
  26. max_connections: 10
  27. timeout: 30 seconds
  28. idle_timeout: 1 minute
  29.  
  30. # Database engine. Only applies to MySQL.
  31. engine: InnoDB
  32.  
  33. options: 'useSSL=false'
  34.  
  35. # Format: <name>:<class>[:URL:version]
  36. # SQLite is only included here for backwards compatibility, it is no longer supported (use H2 instead).
  37. drivers:
  38. - version:1
  39. - 'mysql:com.mysql.jdbc.Driver:https://repo1.maven.org/maven2/mysql/mysql-connector-java/{}/mysql-connector-java-{}.jar:6.0.6'
  40. - 'pgsql:org.postgresql.Driver:https://repo1.maven.org/maven2/org/postgresql/postgresql/{}/postgresql-{}.jar:9.4-1201-jdbc41'
  41. - 'mariadb:org.mariadb.jdbc.Driver:https://repo1.maven.org/maven2/org/mariadb/jdbc/mariadb-java-client/{}/mariadb-java-client-{}.jar:2.0.3'
  42. - 'sqlite:org.sqlite.JDBC:https://repo1.maven.org/maven2/org/xerial/sqlite-jdbc/{}/sqlite-jdbc-{}.jar:3.8.11.1'
  43. - '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