cURL
MySQL
Create
Create a MySQL Connection.
POST
cURL
Documentation Index
Fetch the complete documentation index at: https://infisical-docs-self-host-infra.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Check out the configuration docs for MySQL Connections to learn how to obtain the required credentials.
Body
application/json
The method used to authenticate with MySQL.
Available options:
username-and-password The credentials used to connect with MySQL.
The name of the MySQL Connection to create. Must be slug-friendly.
Required string length:
1 - 64An optional description for the MySQL Connection.
Maximum string length:
256The ID of the project to create the MySQL Connection in.
Whether or not the MySQL Connection credentials should be managed by Infisical. Once enabled this cannot be reversed.
The Gateway ID to use for this connection.
Not supported for MySQL Connections.
Available options:
false Not supported for MySQL Connections.
Response
Default Response