MySQL & MariaDB
Installation
Section titled “Installation”MySQL and MariaDB are two connectors sharing one implementation. Both are based on the mysql2 package and is installed automatically with the Katalogue backend API service.
Authentication
Section titled “Authentication”Authentication with username and password is supported.
Choosing a connector
Section titled “Choosing a connector”Select MySQL or MariaDB in the connector list when creating a connection.
Required Permissions
Section titled “Required Permissions”By default, Katalogue requires read access to the following resources:
INFORMATION_SCHEMA.COLUMNSINFORMATION_SCHEMA.TABLESINFORMATION_SCHEMA.VIEWSINFORMATION_SCHEMA.KEY_COLUMN_USAGEINFORMATION_SCHEMA.TABLE_CONSTRAINTSINFORMATION_SCHEMA.VIEW_TABLE_USAGE(MySQL only, for view lineage)
Note that other permissions might be required if custom import queries are used.
Filtering
Section titled “Filtering”Datasource filters are applied in the source database as a WHERE clause before metadata is fetched, so filtered-out data never leaves the datasource. See Datasource Filters.
Limitations
Section titled “Limitations”Lineage
Section titled “Lineage”The MySQL connector reads dataset lineage for views out of the box. The MariaDB connector reads none by default: MariaDB has no INFORMATION_SCHEMA.VIEW_TABLE_USAGE to read it from, so Insert Default Query offers a template rather than a working query. A MariaDB connection can still state its lineage with a custom lineage import query.