Pre-Installation: Set MariaDB Variables
About this task
MariaDB is installed in a single pass. Set CDM_DATABASE=MARIADB,
review the files in configs/26.1.IF02/, and then run
airflow_variable_sync_26.1_IF02, as described in Run Variable
Sync. The host, port, user, and password are placeholders in
ddl_execution_if02_mariadb.json.
Procedure
- Set the Airflow Variable
CDM_DATABASEtoMARIADB. - Replace the host, port, user, and password placeholders in
configs/26.1.IF02/ddl_execution_if02_mariadb.json. -
Trigger
airflow_variable_sync_26.1_IF02from the Airflow UI.The sync creates the following Airflow Variables:
Airflow Variable Example Value Description CDM_DATABASE MARIADB Target database type CDM_MARIADB_HOST <hostname> MariaDB host CDM_MARIADB_PORT 3306 MariaDB port CDM_MARIADB_CANONICAL_ETL_DB_USER canonical_etl_db_user ETL service account (CDM_MARIADB_USER) CDM_MARIADB_CANONICAL_ETL_DB_USER_PASSWORD <password> ETL service account password (CDM_MARIADB_PASSWORD) CDM_MARIADB_CHARSET / CDM_MARIADB_COLLATION utf8mb4 / utf8mb4_general_ci Character set and collation used by the DDL CDM_MARIADB_DDL_START_POINT_26.1_IF02 (empty or step ID) DDL resume point CDM_MARIADB_DDL_SCHEMA_26.1_IF02 JSON Step list (19 steps) CDM_CUSTOMER_SOURCE_MARIADB_SCHEMA canonical Source schema for Bespoke ETL