Testcontainers.MySql
4.8.1
Prefix Reserved
dotnet add package Testcontainers.MySql --version 4.8.1
NuGet\Install-Package Testcontainers.MySql -Version 4.8.1
<PackageReference Include="Testcontainers.MySql" Version="4.8.1" />
<PackageVersion Include="Testcontainers.MySql" Version="4.8.1" />
<PackageReference Include="Testcontainers.MySql" />
paket add Testcontainers.MySql --version 4.8.1
#r "nuget: Testcontainers.MySql, 4.8.1"
#:package Testcontainers.MySql@4.8.1
#addin nuget:?package=Testcontainers.MySql&version=4.8.1
#tool nuget:?package=Testcontainers.MySql&version=4.8.1
Testcontainers
Testcontainers for .NET is a library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions. The library is built on top of the .NET Docker Remote API and provides a lightweight implementation to support your test environment in all circumstances.

Read the documentation here
License
See LICENSE.
Copyright
Copyright (c) 2019 - 2025 Andre Hofmeister and other authors.
See contributors for all contributors.
Join our Slack Workspace | Testcontainers OSS | Testcontainers Cloud
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Testcontainers (>= 4.8.1)
-
.NETStandard 2.1
- Testcontainers (>= 4.8.1)
-
net8.0
- Testcontainers (>= 4.8.1)
-
net9.0
- Testcontainers (>= 4.8.1)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Testcontainers.MySql:
| Package | Downloads |
|---|---|
|
Deveel.Repository.EntityFramework.Benchmarks
Package Description |
|
|
IntegrationMocks.Modules.MySql
IntegrationMocks MySql binding. |
GitHub repositories (18)
Showing the top 18 popular GitHub repositories that depend on Testcontainers.MySql:
| Repository | Stars |
|---|---|
|
dotnet/aspire
Aspire is the tool for code-first, extensible, observable dev and deploy.
|
|
|
Xabaril/AspNetCore.Diagnostics.HealthChecks
Enterprise HealthChecks for ASP.NET Core Diagnostics Package
|
|
|
fluentmigrator/fluentmigrator
Fluent migrations framework for .NET
|
|
|
Squidex/squidex
Headless CMS and Content Managment Hub
|
|
|
Giorgi/EntityFramework.Exceptions
Strongly typed exceptions for Entity Framework Core. Supports SQLServer, PostgreSQL, SQLite, Oracle and MySql.
|
|
|
dotnetcore/AgileConfig
基于.NET Core开发的轻量级分布式配置中心 / .NET Core lightweight configuration server
|
|
|
IoTSharp/IoTSharp
IoTSharp is an open-source IoT platform for data collection, processing, visualization, and device management.
|
|
|
artiomchi/FlexLabs.Upsert
FlexLabs.Upsert is a library that brings UPSERT functionality to common database providers for Entity Framework in their respective native SQL syntax
|
|
|
open-telemetry/opentelemetry-dotnet-contrib
This repository contains set of components extending functionality of the OpenTelemetry .NET SDK. Instrumentation libraries, exporters, and other components can find their home here.
|
|
|
elastic/apm-agent-dotnet
|
|
|
netcorepal/netcorepal-cloud-framework
一个基于ASP.NET Core实现的整洁领域驱动设计落地战术框架。 A tactical framework for Clean Domain-Driven Design based on ASP.NET Core.
|
|
|
serilog-contrib/serilog-ui
Simple Serilog log viewer UI for several sinks.
|
|
|
IoTSharp/EntityFrameworkCore.Taos
EntityFramework, EF Core, ADO.NET, ORM,Stmt,TDengine
|
|
|
videokojot/EFCore.BulkExtensions.MIT
|
|
|
CommunityToolkit/Datasync
A collection of libraries that implement a client-server system used for synchronizing data from a cloud-based database.
|
|
|
adimiko/TransactionalBox
Outbox and Inbox Pattern in .NET (scalability & fault tolerance). Ensures eventual consistency between services. (microservices, event-driven architecture, message streaming)
|
|
|
PhenX/PhenX.EntityFrameworkCore.BulkInsert
Super fast bulk insertion for Entity Framework Core on SQL Server, PostgreSQL, Sqlite, MySQL and Oracle
|
|
|
netcorepal/d3shop
An online shop project based on Domain-Driven Design
|
| Version | Downloads | Last Updated |
|---|---|---|
| 4.8.1 | 2,964 | 10/22/2025 |
| 4.8.0 | 3,781 | 10/19/2025 |
| 4.7.0 | 53,883 | 8/28/2025 |
| 4.6.0 | 87,841 | 6/13/2025 |
| 4.5.0 | 10,981 | 6/5/2025 |
| 4.4.0 | 76,917 | 4/14/2025 |
| 4.3.0 | 105,978 | 2/24/2025 |
| 4.2.0 | 67,498 | 2/10/2025 |
| 4.1.0 | 139,325 | 12/9/2024 |
| 4.1.0-beta.12035377103 | 126 | 11/26/2024 |
| 4.1.0-beta.11746011829 | 150 | 11/8/2024 |
| 4.0.0 | 123,531 | 11/1/2024 |
| 3.10.0 | 193,329 | 9/3/2024 |
| 3.9.0 | 179,879 | 6/16/2024 |
| 3.8.0 | 224,742 | 3/19/2024 |
| 3.8.0-beta.8238206979 | 127 | 3/11/2024 |
| 3.7.0 | 120,510 | 1/9/2024 |
| 3.6.0 | 49,378 | 11/10/2023 |
| 3.5.0 | 55,807 | 9/7/2023 |
| 3.4.0 | 21,849 | 8/10/2023 |
| 3.3.0 | 53,226 | 6/27/2023 |
| 3.2.0 | 31,339 | 5/23/2023 |
| 3.1.0 | 11,216 | 4/28/2023 |
| 3.0.0 | 44,515 | 3/8/2023 |