Skip to content
Switch branches/tags

Latest commit

This commit adds a new global option, ssl-mode, with valid enum values:

* disabled (don't use TLS)
* preferred (use TLS if server supports it) - default value
* required (use TLS, throw an error if server doesn't support it)

These values correspond to their equivalent meanings of the ssl-mode option
in the standard MySQL 5.7+ command-line client.

None of these options perform verification of the server cert. Additional
ssl-mode options (verify_ca, verify_identity) will be supported by the Premium
edition CLI, along with additional new ssl-* options for optionally supplying
client cert, client key, and ca PEM files.

Prior to this commit, users could configure these TLS modes by setting the tls
driver-level option inside connect-options. This behavior is still permitted,
but deprecated. Furthermore, to avoid conflicting configuration, attempting to
set tls inside connect-options is forbidden if the new ssl-mode option is also
used at the same time.

Git stats


Failed to load latest commit information.
Latest commit message
Commit time


build status code coverage downloads latest release

Skeema is a tool for managing MySQL and MariaDB schema changes in a declarative fashion using pure SQL. The Skeema CLI tool allows you to:

  • Export CREATE TABLE statements to the filesystem, for tracking in a repo (git, hg, svn, etc)
  • Diff changes in the schema repo against live DBs to automatically generate DDL
  • Manage multiple environments (e.g. dev, staging, prod) and keep them in sync with ease
  • Configure use of online schema change tools, such as pt-online-schema-change, for performing ALTERs
  • Apply configurable linter rules to proactively catch schema design problems and enforce company policies

Skeema supports a pull-request-based workflow for schema change submission, review, and execution. This permits your team to manage schema changes in exactly the same way as you manage code changes.

Products and downloads

This repo is the free open source Community edition of the Skeema CLI. The Community edition supports management of tables and routines (procs/funcs). Builds are provided for Linux and MacOS.

The paid Premium edition of the Skeema CLI adds support for managing views and triggers, and also includes a native Windows build, among other improvements.

A companion SaaS product, Skeema Cloud Linter, is also available to simplify CI setup for schema repos stored on GitHub.

For download links and more information, visit



Created and maintained by @evanelias.

Additional contributions by:

Support for stored procedures and functions generously sponsored by Psyonix.

Support for partitioned tables generously sponsored by Etsy.


Copyright 2021 Skeema LLC

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.