-
Notifications
You must be signed in to change notification settings - Fork 3
Home
Miroslav Vasilev edited this page Dec 9, 2020
·
11 revisions
- Drag & Drop AtherysCore into your mods folder. An h2 database will be generated within the
config/atheryscore
folder which will be used to persist all Atherys plugin data.
For more serious, production-ready setups, it is recommended to use something other than h2. AtherysCore
includes within it the PostgreSQL driver, and that is also the database engine we recommend. It is also possible to use MySQL/MariaDB, however this is not advised, as we do not support database migrations for this database.
jpa {
hibernate {
"hibernate.connection.url"="jdbc:postgresql://<database-ip>:5432/<database>"
"hibernate.connection.password"="<postgre password>"
"hibernate.connection.username"=<postgre username>
"hibernate.connection.pool_size"="50" # it may be necessary to increase this, depending on the load being put on the database
"hibernate.connection.driver_class"="org.postgresql.Driver"
"hibernate.dialect"="org.hibernate.dialect.PostgreSQL9Dialect"
"hibernate.show_sql"="false"
"hibernate.default_schema"=atherys
"hibernate.hbm2ddl.auto"=update
}
}
⚠️ WARNING: MySQL/MariaDB support, while present, is not maintained actively. It may work, but has a high probability of breaking between version upgrades.⚠️
jpa {
hibernate {
"hibernate.connection.url"="jdbc:mysql://<database-ip>:3306/<database>"
"hibernate.connection.username"=<mysql username>
"hibernate.connection.password"="<mysql password>"
"hibernate.connection.pool_size"="50" # it may be necessary to increase this, depending on the load being put on the database
"hibernate.connection.driver_class"="com.mysql.jdbc.Driver"
"hibernate.dialect"="org.hibernate.dialect.MySQLDialect"
"hibernate.show_sql"="false"
"hibernate.default_schema"=atherys
"hibernate.hbm2ddl.auto"=update
}
}