Skip to main content

MariaDb Connections

MariaDb is a popular open source relational database. It has been integrated into various cloud offerings and is the default database for many Linux distributions. For more information, see https://mariadb.org/.

Astuce

This connection is in early preview. It is read-only and available only in SaaS product editions. For more information on early previews, see Early Preview Connection Types.

Astuce

You can create connections to databases of this type that are managed by your enterprise or are hosted in cloud infrastructure. The required configuration is the same. The cloud-based version is labeled on Amazon RDS. In the Create Connection dialog, you can search for that term.

Limitations and Requirements

Note

During normal selection or import of an entire table, you may encounter an error indicating a problem with a specific column. Since some tables require filtering based on a particular column, data from them can only be ingested using custom SQL statements. In this case, the problematic column can be used as a filter in the WHERE clause of a custom SQL statement to ingest the table.

  • For more information, please consult the CData driver documentation for the specific table.

  • For more information on using custom SQL, see Create Dataset with SQL.

Note

For filtering date columns, this connection type supports a set of literal functions on dates. You can use these to reduce the volume of data extracted from the database using a custom SQL query. For more information, see the pg_dateliteralfunctions.htm page in the driver documentation for this connection type.

  • Supports basic (username/password) authentication.

Create Connection

via Cloud Portal

When you create the connection, please review the following properties and specify them accordingly:

Connection Property

Description

Host

Name of the host.

Port

You can set to any required value. The default value is 3306. For more information, contact your administrator.

User Name

The MariaDb user account used to authenticate.

Password

The password used to authenticate the user.

Connect String Options

The following default value sets the connection timeout in seconds:

Timeout=0;

Setting this value to 0 disables timeouts.

Default Column Data Type Inference

Leave this value as Enabled.

For more information, see the driver documentation http://cdn.cdata.com/help/SRG/jdbc/default.htm.

via API

Depending on your product edition, you can create connections of this type. Key information:

"vendor": "mariadb",
"vendorName": "MariaDb",
"type": "jdbc"

For more information, see

Coming soon.

Data Type Conversions

For more information, see the driver documentationhttp://cdn.cdata.com/help/SRG/jdbc/default.htm.