Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Locate your app_datasource-default.properties file in your wflow directory (/home/myaccount in Linux and /Documents and Settings/myaccount in Windows).
  2. Open file using any text editor.
  3. Make changes where necessary (anything from username, passwords. connection URLs, etc).
  4. Save file and restart Joget.

Working with Datasource Profiles

If you're continually working with different datasource sets and don't want to keep commenting/uncommenting and/or renaming property files, you can make use of the profiles that are available. In your home directory, you'll (by default) find 2 files that deals deal with datasource settings. The app_datasource.properties file points to the current profile that should be used, and you'll see a see app_datasources-default.properties that should contain the details of your connection pools. To create a new profile, simply create a new properties file that is prefixed with "app_datasources-". If our new datasource profile is called "mynewprofile" then we're looking at:

  1. Create new file called app_datasources-mynewprofile.properties in your wflow directory (/home/myaccount in Linux and /Documents and Settings/myaccount in Windows).
  2. Edit the file using a text editor and specify your connection settings. Save file when done.
  3. Open up app_datasources.properties and point your currentProfile to mynewprofile. Save file when done.
  4. Restart Joget.

...

Joget also allows you to run on databases beyond apart from the default MySQL that comes with the bundle. For information on how to make those connections, refer to the resources below:

...