Installing and configuring MariaDB

Learn how to install and configure MariaDB for Edge Flow Manager (EFM). MariaDB should act as a drop-in binary for MySQL so configuration should be very similar.

For supported database versions, see System Requirements for EFM.

Install MariaDB

If you are using MySQL or PostgreSQL instead of MariaDB, you may skip these steps. See the instructions for MySQL and PostgreSQL in the respective sections.
  1. Log in to the machine on which you want to install MariaDB to use for the EFM server.
  2. Install MariaDB and the MariaDB server, and start the MariaDB service.

    For install instructions, check

  3. Use the following command to reset the MariaDB root password:

    MariaDB then asks you to change the password.

  4. Download the MariaDB JDBC connector and place it in the EFM lib directory:
  5. Download the MariaDB database driver from

Configure MariaDB for use by EFM

  1. Launch the MySQL shell:
    mysql -u root -p
  2. Create the database for the EFM service to use:
  3. Create the efm user account, replacing the final IDENTIFIED BY string with your password:
    CREATE USER 'efm'@'%' IDENTIFIED BY 'efmPassword';
  4. Assign privileges to the efm account:
    GRANT ALL PRIVILEGES ON efm.* TO 'efm'@'%';
  5. Commit the operation:

Configure the EFM database properties

  1. Configure the database properties in the file:
    The URL should match the host and port of the machine running MariaDB. The password should match the value that you set using the following command:
    CREATE USER 'efm'@'%' IDENTIFIED BY 'efmPassword';