跳到正文

MySQL ​

The MySQL provider for Pulumi can be used to provision any of the resources available for MySQL. The MySQL provider must be configured with credentials to deploy and update resources in MySQL.

See the full API documentation for complete details of the available MySQL provider APIs.

Setup ​

The MySQL provider supports several options for providing access to MySQL credentials. See the MySQL setup page for details.

Example ​

typescript
import * as mysql from "@pulumi/mysql";

const myDb = new mysql.Database("my-database");

Libraries ​

The following packages are available in packager managers:

The MySQL provider is open source and available in the pulumi/pulumi-mysql repo.

文档内容翻译自 Pulumi 官方文档。