SQL Studio

MySQL / MariaDB

Connect to a MySQL or MariaDB database.

Usage

sql-studio mysql <URL>

Arguments

ArgumentDescriptionEnv Var
URLMySQL connection URLURL

Connection URL Format

mysql://user:password@host:port/database

Notes

SQL Studio uses rustls for TLS, so connections to MySQL servers with TLS enabled are supported out of the box.

Examples

# Connect to a local MySQL database
sql-studio mysql mysql://root:password@localhost/sample

# Connect to a remote MySQL database
sql-studio mysql mysql://user:[email protected]:3306/mydb

On this page

No Headings