This topic describes the parameters that are required to register an AnalyticDB for MySQL instance.
Notice This topic applies only to AnalyticDB for MySQL V2.0. Realtime Compute for Apache
Flink does not allow you to register AnalyticDB for MySQL V3.0 to store result tables.
To use the result tables of AnalyticDB for MySQL V3.0, you must create and reference
the result tables in plaintext mode. For more information, see Create an AnalyticDB for MySQL V3.0 result table.
Register storage resources
Note Before you use Realtime Compute for Apache Flink to register storage resources, you
must grant Realtime Compute for Apache Flink the permission to access these resources.
For more information, see Grant a RAM role to Realtime Compute for Apache Flink in exclusive mode.
- Log on to the Realtime Compute development platform.
- In the top navigation bar, click Development.
- In the left-side navigation pane of the Development page, click Storage.
- In the upper-left corner of the Storage page, click +Registration and Connection.
- In the Register Data Store and Test Connection dialog box, configure the storage parameters.
- Click OK.
Storage parameters
Parameter | Description |
---|---|
URL | The URL of the AnalyticDB for MySQL database. You can use the URL to log on to the
AnalyticDB for MySQL console. Enter the URL of the AnalyticDB for MySQL database based
on the deployment mode of your Realtime Compute for Apache Flink:
To view the URL, perform the following steps:
|
Database | The name of the AnalyticDB for MySQL database or the name of the AnalyticDB for MySQL instance. |
AccessKey ID | The AccessKey ID of your Alibaba Cloud account. |
AccessKey Secret | The AccessKey secret of your Alibaba Cloud account. |