@@ -244,7 +244,7 @@ The flow of the migration process is as follows:
## SQL
Dex supports two flavors of SQL, SQLite3 and Postgres. MySQL and CockroachDB may be added at a later time.
Dex supports two flavors of SQL: SQLite3 and Postgres.
Migrations are performed automatically on the first connection to the SQL server (it does not support rolling back). Because of this dex requires privileges to add and alter the tables for its database.
// Go MySQL Driver - A MySQL-Driver for Go's database/sql package
//
// Copyright 2013 The Go-MySQL-Driver Authors. All rights reserved.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at http://mozilla.org/MPL/2.0/.
packagemysql
import(
"database/sql/driver"
"errors"
"fmt"
"io"
"log"
"os"
)
// Various errors the driver might return. Can change between driver versions.
var(
ErrInvalidConn=errors.New("invalid connection")
ErrMalformPkt=errors.New("malformed packet")
ErrNoTLS=errors.New("TLS requested but server does not support TLS")
ErrOldPassword=errors.New("this user requires old password authentication. If you still want to use it, please add 'allowOldPasswords=1' to your DSN. See also https://github.com/go-sql-driver/mysql/wiki/old_passwords")
ErrCleartextPassword=errors.New("this user requires clear text authentication. If you still want to use it, please add 'allowCleartextPasswords=1' to your DSN")
ErrUnknownPlugin=errors.New("this authentication plugin is not supported")
ErrOldProtocol=errors.New("MySQL server does not support required protocol 41+")
ErrPktSync=errors.New("commands out of sync. You can't run this command now")
ErrPktSyncMul=errors.New("commands out of sync. Did you run multiple statements at once?")
ErrPktTooLarge=errors.New("packet for query is too large. Try adjusting the 'max_allowed_packet' variable on the server")