Log on to the Data Lake Analytics console.
In the left-side navigation pane, click Endpoint. In the endpoint list, locate the row that contains the target endpoint and click Log on in DMS in the Actions column. Run the following statement to create an ApsaraDB for Redis (Redis) schema in DLA:
CREATE DATABASE `redis_test`
WITH DBPROPERTIES (
catalog = 'redis',
location = 'r-xxxxx.redis.rds.aliyuncs.com:6379/hello_',
password = 'xxxxx',
vpc_id = 'vpc-xxxxx',
instance_id = 'r-xxxxxx'
location: indicates the URL of your Redis instance, which is composed of the private IP address and port number of your Redis instance.
hello_is the prefix you added.
password: indicates the password used to connect to your Redis instance.
vpc_id: indicates the ID of the VPC where your Redis instance is located.
instance_id: indicates the ID of the your Redis instance.
How helpful was this page?
What might be the problems?