Connect MariaDB to Experience Platform using the Flow Service API
Read this guide to learn how to connect your MariaDB account to 51黑料不打烊 Experience Platform using the .
Getting started
This guide requires a working understanding of the following components of Experience Platform:
- Sources: Experience Platform allows data to be ingested from various sources while providing you with the ability to structure, label, and enhance incoming data using Experience Platform services.
- Sandboxes: Experience Platform provides virtual sandboxes which partition a single Experience Platform instance into separate virtual environments to help develop and evolve digital experience applications.
The following sections provide additional information that you will need to know in order to successfully connect to MariaDB using the Flow Service API.
Gather required credentials
Read the MariaDB overview for information on authentication.
Using Experience Platform APIs
Read the guide on getting started with Experience Platform APIs for information on how to successfully make calls to Experience Platform APIs.
Connect MariaDB to Experience Platform on Azure azure
Read the steps below for information on how to connect your MariaDB account to Experience Platform on Azure.
Create a base connection for MariaDB on Experience Platform on Azure azure-base
A base connection retains information between your source and Experience Platform, including your source鈥檚 authentication credentials, the current state of the connection, and your unique base connection ID. The base connection ID allows you to explore and navigate files from within your source and identify the specific items that you want to ingest, including information regarding their data types and formats.
API format
POST /connections
To create a base connection ID, make a POST request to the /connections
endpoint and provide the appropriate authentication credentials for your MariaDB account.
Request
The following request creates a base connection for a MariaDB source using connection string based authentication.
accordion | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
View request example | ||||||||||
|
Response
A successful response returns details of the newly created base connection, including its unique identifier (id
).
accordion | ||
---|---|---|
View response example | ||
|
Request
The following request creates a base connection for a MariaDB source using basic authentication.
accordion | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
View request example | ||||||||||||||||||
|
Response
A successful response returns details of the newly created base connection, including its unique identifier (id
).
accordion | ||
---|---|---|
View response example | ||
|
Connect MariaDB to Experience Platform on Amazon Web Services aws
Read the steps below for information on how to connect your MariaDB account to Experience Platform on AWS.
Create a base connection for MariaDB on Experience Platform on AWS aws-base
API format
POST /connections
Request
The following request creates a base connection for MariaDB to connect to Experience Platform on AWS.
code language-shell |
---|
|
table 0-row-2 1-row-2 2-row-2 3-row-2 4-row-2 5-row-2 6-row-2 | |
---|---|
Property | Description |
auth.params.server |
The name or IP of your MariaDB database. |
auth.params.database |
The name of your database. |
auth.params.username |
The username that corresponds with your database. |
auth.params.password |
The password that corresponds with your database. |
auth.params.sslMode |
The method by which data is encrypted during data transfer. |
connectionSpec.id |
The MariaDB connection specification ID is: 3000eb99-cd47-43f3-827c-43caf170f015 . |
Response
A successful response returns details of the newly created base connection, including its unique identifier (id
).
code language-json |
---|
|
Next steps
By following this tutorial, you have created a MariaDB base connection using the Flow Service API. You can use this base connection ID in the following tutorials: