"mysql" Humanitec Resource Type
Used to provision a database in a MySQL instance.
MariaDB is by design protocol compatible with MySQL, so the
mysqlresource types can be used interchangeably.
The IP Address or hostname that the instance is available on.
The name of the database that the workload should connect to.
The password for the user or role.
The port on the host that the instance is available on.
The user or role that the workload should use to connect to the database.
For a MySQL database added to a workload under the ID
my-db, a connection string can be built as: