sq
Browse docs
  • Overview
  • Install
  • Concepts
  • Query Guide
  • Sources
  • Inspect
  • Config
  • Detect
  • Output
  • Diff
  • Tutorial
  • Cookbook
    • sq
    • sq add
    • sq cache clear
    • sq cache disable
    • sq cache enable
    • sq cache location
    • sq cache stat
    • sq cache tree
    • sq completion
    • sq completion bash
    • sq completion fish
    • sq completion powershell
    • sq completion zsh
    • sq config edit
    • sq config get
    • sq config location
    • sq config ls
    • sq config set
    • sq diff
    • sq driver ls
    • sq help
    • sq inspect
    • sq ls
    • sq ping
    • sq rm
    • sq sql
    • sq src
    • sq group
    • sq mv
    • sq tbl copy
    • sq tbl drop
    • sq tbl truncate
    • sq version
    • MySQL
    • Postgres
    • SQL Server
    • SQLite
    • CSV & friends
    • JSON
    • XLSX (Excel)
    • Sakila DB
    • Testing

sq

  • Install
  • Docs
  • CHANGELOG


  • GitHub

  • Overview
  • Install
  • Concepts
  • Query Guide
  • Sources
  • Inspect
  • Config
  • Detect
  • Output
  • Diff
  • Tutorial
  • Cookbook
    • sq
    • sq add
    • sq cache clear
    • sq cache disable
    • sq cache enable
    • sq cache location
    • sq cache stat
    • sq cache tree
    • sq completion
    • sq completion bash
    • sq completion fish
    • sq completion powershell
    • sq completion zsh
    • sq config edit
    • sq config get
    • sq config location
    • sq config ls
    • sq config set
    • sq diff
    • sq driver ls
    • sq help
    • sq inspect
    • sq ls
    • sq ping
    • sq rm
    • sq sql
    • sq src
    • sq group
    • sq mv
    • sq tbl copy
    • sq tbl drop
    • sq tbl truncate
    • sq version
    • MySQL
    • Postgres
    • SQL Server
    • SQLite
    • CSV & friends
    • JSON
    • XLSX (Excel)
    • Sakila DB
    • Testing
  • Overview
  • Install
  • Concepts
  • Query Guide
  • Sources
  • Inspect
  • Config
  • Detect
  • Output
  • Diff
  • Tutorial
  • Cookbook
    • sq
    • sq add
    • sq cache clear
    • sq cache disable
    • sq cache enable
    • sq cache location
    • sq cache stat
    • sq cache tree
    • sq completion
    • sq completion bash
    • sq completion fish
    • sq completion powershell
    • sq completion zsh
    • sq config edit
    • sq config get
    • sq config location
    • sq config ls
    • sq config set
    • sq diff
    • sq driver ls
    • sq help
    • sq inspect
    • sq ls
    • sq ping
    • sq rm
    • sq sql
    • sq src
    • sq group
    • sq mv
    • sq tbl copy
    • sq tbl drop
    • sq tbl truncate
    • sq version
    • MySQL
    • Postgres
    • SQL Server
    • SQLite
    • CSV & friends
    • JSON
    • XLSX (Excel)
    • Sakila DB
    • Testing

MySQL

The sq MySQL driver implements connectivity for the MySQL and MariaDB databases. The driver implements all optional driver features.

Add source #

Use sq add to add a source. The location argument should start with mysql://. For example:

sq add 'mysql://sakila:p_ssW0rd@localhost/sakila'
Edit this page on GitHub
← sq version
Postgres →
  • Deploys by Netlify