FME Flow: 2025.2

Configure the FME Flow Database on a Separate Database Server

Note  Complete this step only if you are configuring the FME Flow Database on your own database server, and did not install the PostgreSQL database that is included with the FME Flow installer. For more information, see Provide a Database Server.

To configure FME Flow to use a separate database server, follow the steps below. You can configure FME Flow with a PostgreSQL (recommended), Microsoft SQL Server, or Oracle database, running on either Windows or Linux.

Note  PostgreSQL is the recommended database server with FME Flow, offering enhanced performance and stability through targeted optimizations.

One notation used is <FMEFlowDir>, which is the installation directory of FME Flow. This is typically C:\Program Files\FMEFlow on Windows and /opt/fmeflow on Linux.

1. Stop All FME Flow Services on All Machines

When changing database providers or when initially setting up FME Flow to use a separate database server, stop all FME Flow services first.

Windows only: With all FME Flow services stopped, ensure memurai.exe (or redis-server on older FME Flow installations) is not present. Open Task Manager and click on the Details tab to view all running processes. Review the list for memurai.exe and end the task if it is still running.

2. Configure the Database

In this section, you will set up FME Flow Database objects and users with permissions to access the database. To ensure a successful database configuration, this procedure is best performed by a database administrator or in consultation with one.

During the installation of FME Flow, you were prompted to enter a database username (default fmeflow) and password. The installer uses these values to populate the database scripts and the JDBC connection string found in fmeDatabaseConfig.txt. It is expected that you will be using these values. If you want to change them, see Providing Your Own FME Flow Database Schema, Name, or User.

If you are upgrading, you should back up any FME Job Logs you want to keep, as these logs are not part of the FME Flow backup.

Note  The specific way to set up database objects and user permissions on various production databases may differ depending on the available database tools and intended target platform.

3. Enable Connections

FME Flow connects to the database when it starts. Therefore, ensure that your database server is running and configured to accept incoming connections before FME Flow is started. The database must allow connections over TCP/IP with all machines on which the FME Flow Application Server, FME Flow Core and FME Engines are installed.

4. Configure the Database Connection

The connection to the FME Flow Database is specified in configuration file fmeDatabaseConfig.txt. The FME Flow installer adds your connection parameters based on what was specified during installation.

To view the connection, open fmeDatabaseConfig.txt. Under FME SERVER SETTINGS START, find the section titled Database Connection. The parameters are below for reference:

  • DB_TYPE - Identifies the database server: postgresql, sqlserver, or oracle.
  • DB_DRIVER - The JDBC driver name used for connecting to the database.
  • DB_JDBC_URL - The JDBC URL used for connecting to the database.
  • DB_USERNAME - The database user name.
  • DB_PASSWORD - The database user password.
  • DB_CONNECT_EXPIRY - The database connection expiry time, in seconds.
  • DB_SQLSTMTS_PATH - The path to the SQL statement resource bundle.

An example is provided for each type of system database supported by FME Flow: PostgreSQL, SQL Server, and Oracle.

You may need to change these parameters, especially DB_JDBC_URL, depending on how your database server or database has been configured outside of FME Flow. For scenarios and guidance, see Configuring the FME Flow Database Connection.

After changing fmeDatabaseConfig.txt, FME Flow must be restarted.

Note that the database password in the connection parameters is encrypted during installation. If you are changing the FME Flow database after installation, the new database password must be manually encrypted. Follow the procedure in Encrypting the FME Flow Database Password. Alternatively, the database password can be provided as plain text in the connection parameters.

5. Start the FME Flow Services on All Machines

For more information, see Working with the FME Flow System Services.

What's Next?

Troubleshooting

If the FME Flow Web User Interface fails to present the login window, review the fmeserver.log, fmeprocessmonitorcore.log, and fmeconnection.log located in the FME Flow System Share, which is specified during installation: <fileserverUNCPath>/resources/logs/core/current

If you see errors about a failed database login in the logs and are unsure of the database password, you can provide it in plain text in the fmeDatabaseConfig.txt configuration file to test. The FME Flow services must be restarted after modifying the file.

For more troubleshooting information, see https://support.safe.com/hc/en-us/sections/25623298793101-Troubleshooting.