Skip to main content

MySQL

:::info Required extra This connection requires the mysql extra. See Installation. :::

Test data in MySQL or MySQL-compatible databases (e.g. MariaDB).

Server

servers:
- server: mysql
type: mysql
host: localhost
port: 3306
database: mydb

Environment variables

VariableExampleDescription
DATACONTRACT_MYSQL_USERNAMErootUsername
DATACONTRACT_MYSQL_PASSWORDmysecretpasswordPassword