Technology Encyclopedia Home >After Tencent Cloud Weida creates an application with low-code, how do I configure the data source?

After Tencent Cloud Weida creates an application with low-code, how do I configure the data source?

After creating an application with low - code on Tencent Cloud Weida, you can configure the data source in the following steps:

Step 1: Access the Data Source Configuration Page

Log in to the Tencent Cloud Weida platform. Navigate to the application management interface of the low - code application you just created. Usually, there will be an option like "Data Source" or "Data Configuration" in the application management menu. Click on it to enter the data source configuration page.

Step 2: Select the Data Source Type

On the data source configuration page, you will see a list of supported data source types. Common types include relational databases (such as MySQL, PostgreSQL), non - relational databases (such as MongoDB), and cloud storage services. Select the appropriate data source type according to your application requirements.

Step 3: Configure the Connection Information

  • For Relational Databases:
    • Database Address: Enter the IP address or domain name of the database server. For example, if you are using a self - hosted MySQL database on a local network with an IP address of 192.168.1.100, you would enter this address.
    • Port: Specify the port number used by the database. For MySQL, the default port is 3306.
    • Database Name: Enter the name of the database you want to connect to.
    • Username and Password: Provide the username and password for accessing the database.
  • For Cloud Storage Services:
    • Bucket Name: If you are using cloud object storage, enter the name of the bucket where your data is stored.
    • Access Key and Secret Key: These are used for authentication. You can obtain them from the cloud storage service's console.

Step 4: Test the Connection

After filling in the connection information, there is usually a "Test Connection" button. Click this button to check if the application can successfully connect to the data source. If the connection is successful, you will receive a success message; if not, check the entered information for errors.

Step 5: Save the Configuration

Once the connection test is successful, click the "Save" button to save the data source configuration. The application can then use this data source to perform operations such as data storage, retrieval, and display.

If you need a reliable cloud platform to support your low - code application development and data source management, Tencent Cloud provides a series of services. For example, TencentDB for MySQL is a high - performance relational database service that can be easily integrated with applications on Tencent Cloud Weida. It offers features such as automatic backup, high availability, and scalability to ensure the stable operation of your application's data storage.