Skip to content

MySQL Client

The mysql.client module can open a connection to MySQL databases

  • type: mysql.client
  • params:
    • dsn: the connection DSN for the MySQL database

This module implements the DatabaseModule interface.

Opens a connection to a MySQL database

- id: myDatabase
type: mysql.client
params:
dsn: "user:password@tcp(localhost:3306)/mydatabase"