• 登录 DLA控制台

  • 单击左侧导航栏的 访问点管理 ,然后, 登录DMS ,在DLA中创建Redis Schema的语法如下所示:

    1. CREATE DATABASE `redis_test`
    2. WITH DBPROPERTIES (
    3. catalog = 'redis',
    4. location = 'r-xxxxx.redis.rds.aliyuncs.com:6379/hello_',
    5. password = 'xxxxx',
    6. vpc_id = 'vpc-xxxxx',
    7. instance_id = 'r-xxxxxx'
    8. )
  • location:Redis实例的内网连接地址和端口号组成。

    hello_ 为添加的前缀。

  • password:连接Redis的密码。

  • vpc_id:Redis实例所属VPC ID。

  • instance_id:Redis实例ID

    下一步

    创建Redis表并读取数据

  •