Supercharge your local development workflow with the free ✨Testcontainers Desktop✨ app!

Description

MySQL is an open-source relational database management system.

Examples

var mysql = new MySQLContainer<>(DockerImageName.parse("mysql:5.7.34"));
mysql.start();
container, err := mysql.RunContainer(ctx, testcontainers.WithImage("mysql:5.7.34"))
var mySqlContainer = new MySqlBuilder()
  .WithImage("mysql:8.0")
  .Build();
await mySqlContainer.StartAsync();
const container = await new MySqlContainer().start();