Skip to main content
Version: Next

MariaDB

Certified

Important Capabilities

CapabilityStatusNotes
Asset ContainersEnabled by default
ClassificationOptionally enabled via classification.enabled
Data ProfilingOptionally enabled via configuration
DescriptionsEnabled by default
Detect Deleted EntitiesEnabled via stateful ingestion
DomainsSupported via the domain config field
Platform InstanceEnabled by default
Schema MetadataEnabled by default

CLI based Ingestion

Starter Recipe

Check out the following recipe to get started with ingestion! See below for full configuration options.

For general pointers on writing and running a recipe, see our main recipe guide.

source:
type: mariadb
config:
# Coordinates
host_port: localhost:3306
database: dbname

# Credentials
username: root
password: example

# If you need to use SSL with MariaDB:
# options:
# connect_args:
# ssl_ca: "path_to/server-ca.pem"
# ssl_cert: "path_to/client-cert.pem"
# ssl_key: "path_to/client-key.pem"


# sink configs

Config Details

Note that a . is used to denote nested fields in the YAML recipe.

FieldDescription
database
string
database (catalog)
host_port
string
MariaDB host URL.
Default: localhost:3306
options
object
Any options specified here will be passed to SQLAlchemy.create_engine as kwargs. To set connection arguments in the URL, specify them under connect_args.
password
string(password)
password
scheme
string
Default: mysql+pymysql
sqlalchemy_uri
string
URI of database to connect to. See https://docs.sqlalchemy.org/en/14/core/engines.html#database-urls. Takes precedence over other connection parameters.
username
string
username

Code Coordinates

  • Class Name: datahub.ingestion.source.sql.mariadb.MariaDBSource
  • Browse on GitHub

Questions

If you've got any questions on configuring ingestion for MariaDB, feel free to ping us on our Slack.