Documentation
ODP 3.3.6.3-1
Release Notes
What is ODP
Installation
Component User guide and Installation Instructions
Getting Started
Set Up MLflow Backend
Install MLflow
Run MLflow
Configure Artifact Storage
Secure and Serve MLflow
Upgrade Instructions
Downgrade Instructions
Reference Guide
Security Guide
Troubleshooting Guide
Uninstall ODP
Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Set up PostgreSQL as MLflow’s Backend Store
Summarize Page
Copy Markdown
Open in ChatGPT
Open in Claude
Connect to Cursor
Connect to VS Code
You can follow the below steps to set up PostgreSQL and configure it as the backend store for MLflow.
Steps to Setup
- Install PostgreSQL.
On Ubuntu/Debian:
Bash
sudo apt updatesudo apt install postgresql postgresql-contribOn CentOS/RHEL:
Bash
sudo yum install postgresql-server postgresql-contribsudo postgresql-setup initdbsudo systemctl start postgresqlsudo systemctl enable postgresql- Switch to the Postgres user and enter the PostgreSQL shell.
Bash
sudo -i -u postgrespsql- Create a database and user for MLflow.
Bash
CREATE DATABASE mlflow;CREATE USER mlflow WITH ENCRYPTED PASSWORD 'mlflow';GRANT ALL PRIVILEGES ON DATABASE mlflow TO mlflow;\qReplace 'your_password' with a strong password.
- Configure PostgreSQL to allow remote connections (optional)
- Edit the PostgreSQL config file
postgresql.confto listen on all IPs:
Bash
sudo nano /etc/postgresql/<version>/main/postgresql.confFind the line:
Bash
Find the line:Uncomment and change it to:
Bash
listen_addresses = '*'- Edit
pg_hba.confto allow your MLflow server IP (or all IPs):
Bash
sudo nano /etc/postgresql/<version>/main/pg_hba.conf- Add this line at the end (replace
<mlflow_server_ip>with your MLflow server IP):
Bash
host mlflow_db mlflow_user <IP Address> md5- Restart PostgreSQL:
Bash
sudo systemctl restart postgresqlType to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
Last updated on Aug 6, 2025
Was this page helpful?
Next to read:
Install MLflow using Ambari MpackDiscard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message