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 a MySQL schema in DLA:
CREATE SCHEMA hello_mysql_vpc_rds WITH DBPROPERTIES (
CATALOG = 'mysql',
LOCATION = 'jdbc:mysql://192.168.2.141:3306/dla_db',
USER = 'dla_user',
PASSWORD = 'dla_userpasswd',
INSTANCE_ID = 'ecs_instance_id',
VPC_ID = 'vpc_id'
CATALOG: indicates the MySQL schema you want to create.
LOCATION: In the parameter value, 192.168.2.141 indicates the private address of the ECS instance. You can check the location on the Instance Details page of the ECS console. dla_db is the name of the MySQL database you created.
USER: indicates the username of the MySQL database you created.
PASSWORD: indicates the password of the MySQL database you created.
INSTANCE_ID: indicates the ID of the ECS instance. You can check the instance ID on the Instance Details page of the ECS console.
VPC_ID: indicates the ID of the VPC to which the ECS instance or DLA belongs. You can check the VPC ID on the Instance Details page of the ECS console or on the Overview page of the Data Lake Analytics console.
How helpful was this page?
What might be the problems?