Set up MySQL as MLflow's Backend Store

You can follow these steps to create and configure a MySQL database for use as the MLflow backend store.

Steps to setup

  1. Log in to MySQL.
Bash
Copy

Enter your MySQL root password when prompted.

  1. Create a new database.
Bash
Copy

Replace mlflow_db with your preferred database name.

  1. Create a user (optional but recommended).
Bash
Copy

Replace mlflow_user and your`_password` with your desired username and strong password.

  1. Grant privileges to the user.
Bash
Copy
  1. Exit MySQL.
Bash
Copy
  1. Test connection from your MLflow server machine.
Bash
Copy
  1. Replace <mysql_host> with your MySQL server IP or hostname.

Example MLflow backend store URI for MySQL:

Bash
Copy

Notes:

  • Make sure the MySQL server allows remote connections if MLflow runs on a different system.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
  Last updated