/mysqlx

MySQL driver for Go's (golang) database/sql package and MySQL X Protocol

Primary LanguageGoMozilla Public License 2.0MPL-2.0

mysqlx

MySQL driver for Go's (golang) database/sql package and MySQL X Protocol.

GoDoc Build Status Codecov Go Report Card

It requires Go 1.10+.

Status

Alpha quality. Do not use in production!

You are, however, is encouraged to try it in development and report bugs.

Data source format

mysqlx://username:password@host:port/database?_param=value&session_variable=value&…

All query parameters that are not starting with _ are used as session variables and are set whenever a connection is opened. Parameters starting with _ are listed below:

TODO

  • Real TLS support.
  • Binary strings.
  • Large uint64.
  • More tests for correct connection closing.
  • More concurrent tests.
  • Benchmarks.
  • Charsets.
  • Time zones.
  • Real prepared statements.
  • Named values.
  • Expose notices and warnings (?).