ali_client()

Description:

Connect to Albaba Cloud and return result as a cursor.

Syntax:

ali_client(ali_url,user,password,dbname)

 

Note:

 This external library function connects to Alibaba Cloud. The parameters user and password represent the Access ID and Access Key that the cloud provides to a user for accessing the service.

Parameters

ali_url

The URL for accessing Alibaba Cloud.

user

The Access ID for Alibaba Cloud.

password

The Access Key for Alibaba Cloud.

dbname

A database name.

Return value:

Cursor

Example:

 

A

 

1

=ali_client("http://test.ots.aliyuncs.com","LTAIXZNG5zzSPHTQ","YHKJHhdf","test")

 

Related functions:

ali_query()

ali_close()