====== DB Connectors ====== ===== Purpose ===== * Pro.Monitor cockpit needs at least 3 connectors: * One **MYSQL** connector to the **Primary** SQL database (which will store administration data) * One MYSQL connector per **Tenant**, which will store and isolate tenant's data * One **Victoria** (Time series DB) connector per tenant for the metrics ===== Get started ===== * The first database to create is the **primary**. It will store all administration data that you will create later (tenants, DB connectors, properties etc...). * The primary DB will be using a MYSQL connector. * Make sure to activate **Primary DB** and **Init DB** check boxes when you create the connector. * Once done, create a MYSQL DB connector to connect to each tenant's DB * Then create a **Victoria** connector for each tenant * Then create your [[..:administration:tenants|tenant]] and assign the connectors accordingly {{:common:icon_warning.png}} Once created, the main configuration DB connector **cannot be removed**. You must create a new one before. ===== Available connectors ===== * [[.:dbconnectors:mysql|MySQL]] * [[.:dbconnectors:victoria|Victoria metrics]]