/etc/inventory/inventory.conf
In the [database] section, configure database access:
[database]
[database] ... connection = mysql+pymysql://inventory:INVENTORY_DBPASS@controller/inventory