All Products
Search
Document Center

Lindorm:Connect to the streaming engine (MySQL command line)

Last Updated:Mar 30, 2026

The Lindorm streaming engine supports SQL access over the MySQL protocol. This topic describes how to connect to it using the MySQL client.

Prerequisites

Before you begin, make sure you have:

Install the MySQL client

Install MySQL client 8.0 or later.

  • Linux (APT)

    sudo apt-get install mysql-client
  • Linux (Yum)

    sudo yum install mysql
  • macOS

    brew install mysql-client
  • Windows Download and run the installer from MySQL Command-Line Client.

Get the endpoint

  1. Log on to the Lindorm console. In the upper-left corner, select the region of your instance. On the Instances page, click the instance ID or click View Instance Details in the Actions column.

  2. In the left navigation pane, choose Database Connections.

  3. Click the Stream Engine tab and copy the Lindorm streaming engine SQL address. The address format is <host>:<port>. Strip the colon and port number to get the MySQL URL — for example, ld-bp1mq0tdzbx1m****-proxy-stream-vpc.lindorm.aliyuncs.com.

    Important

    Currently, only virtual private cloud (VPC) endpoints are supported.

Connect to the streaming engine

Run the following command to connect:

# Replace the placeholders with your actual values:
#   <mysql_url>  — the MySQL URL from the Stream Engine tab (host only, no port)
#   <username>   — the username from the Stream Engine tab
#   <password>   — the password from the Stream Engine tab
mysql -h <mysql_url> -P 33060 -u <username> -p<password>

Example:

mysql -h ld-bp1mq0tdzbx1m****-proxy-stream-vpc.lindorm.aliyuncs.com -P 33060 -utest -ptest

What's next