Registry / database / testing-mysql-server

testing-mysql-server

JSON →
library8.0.12-5javamavenunverified

Embedded MySQL server for use in tests, providing a lightweight MySQL instance for integration testing.

<dependency> <groupId>io.airlift</groupId> <artifactId>testing-mysql-server</artifactId> <version>8.0.12-5</version> </dependency>
INSTALL
IMPORT
SIG · TESTING-MYSQL-SERV
T
testing-mysql-server
databasejavav8.0.12-5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TestingMySqlServer
io.airlift.testing.mysql.TestingMySqlServer

Minimal example starting and stopping an embedded MySQL server.

import io.airlift.testing.mysql.TestingMySqlServer; public class Example { public static void main(String[] args) throws Exception { TestingMySqlServer server = new TestingMySqlServer(); server.start(); System.out.println("MySQL server started on port: " + server.getPort()); server.close(); } }
Debug
Known issues
gotchaVersion compatibility with MySQL client libraries may cause issues.
fix
Ensure your MySQL JDBC driver version matches the embedded server version.
affects: >=8.0.0
Upgrade
Version history
8.0.12-5latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
18
Meta
1
OpenAI (training)
1
Resources
testing-mysql-server — mvn dependency:get testing-mysql-server · libregistry