Tutorial: Connect to Lakehouse

Singdata Lakehouse supports multiple connection methods, from command-line tools to programming interfaces, meeting the access needs of different scenarios. Based on your role and technical preference, choose the most suitable connection method below.


Connection Methods at a Glance

Connection MethodBest ForRecommended Users
cz-cli Command-Line ToolTerminal SQL operations, task management, Agent integrationData engineers, AI Agent developers
JDBC DriverJava/Scala applications, direct BI tool connectionsApplication developers, BI engineers
Command-Line Client (sqlline)Java-based interactive SQL terminalTechnical users familiar with traditional database terminals
MySQL ProtocolMySQL-compatible tools (Navicat, DataGrip, etc.)Data analysts, DBAs
SQLAlchemyPython data applications, Jupyter NotebooksPython developers, data scientists

Choose by Role

Data Engineer / Terminal User

Recommended: cz-cli — configure a Profile once, and all subsequent SQL and task operations automatically use the same connection parameters, no need to enter a JDBC URL each time.

Connect with cz-cli Command-Line Tool

Java/Scala Application Developer

Recommended: JDBC Driver — standard database connection interface that integrates directly into frameworks like Spring and Flink.

JDBC Driver

Python Developer / Data Scientist

Recommended: SQLAlchemy — the standard database abstraction layer in the Python ecosystem, supporting both ORM and native SQL, suitable for Jupyter Notebook analysis scenarios.

Connect with SQLAlchemy

BI Tool / Database Management Tool User

Lakehouse is compatible with the MySQL protocol. Tools like Navicat, DataGrip, and DBeaver can connect directly and operate Lakehouse just like MySQL.

Connect with MySQL Protocol

Technical Users Familiar with Traditional Database Terminals

sqlline is a Java-based interactive SQL terminal. Enter SQL and get results back in real time — suitable for quick queries and data exploration.

Connect with Command-Line Client


Client Downloads

For download links for all client drivers and toolkits, see Downloads.


Common Connection Parameters

Regardless of which connection method you use, the following core information is required:

ParameterDescriptionHow to Obtain
Service EndpointService endpoint addressSee Cloud Region Endpoints
Instance IDInstance identifierUpper-left corner of the Studio homepage
WorkspaceWorkspace nameTop dropdown in Studio
SchemaDefault SchemaRun SHOW SCHEMAS after connecting
VClusterVirtual Cluster nameRun SHOW VCLUSTERS after connecting
Username / PasswordAuthentication credentialsPlatform registered account