-
Notifications
You must be signed in to change notification settings - Fork 0
Storage
Justin_SGD edited this page Apr 29, 2023
·
5 revisions
The JuByteCase plugin offers support for two different database systems:
- H2Portable (built-in lightweight SQL database)
- MySQL/MariaDB
The choice of the database system is yours to make. Here are the instructions for setting up each of the supported databases.
If you choose to use H2Portable, you don't need to set up a separate database server. Here's how to configure the plugin:
- Open the
database.ymlfile located in the plugin directory. - Set the
dialectNameto'H2Portable'. - Set the
DatabaseNameto the desired name for your database (e.g.'JuByteCase'). - Save the file.
Your JuByteCase plugin is now configured to use H2Portable database.
If you choose to use MySQL or MariaDB, you will need to set up a separate database server. Here's how to configure the plugin:
- Create a new database and user in your MySQL/MariaDB server.
- Grant the user the necessary privileges to access the database.
- Open the
database.ymlfile located in the plugin directory. - Set the
dialectNameto'MySQL'. - Set the
DatabaseNameto the name of the database you created in step 1. - Set the
Host,Port,User, andPasswordto the corresponding values for your database. - Save the file.
Your JuByteCase plugin is now configured to use MySQL/MariaDB database.