Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 960 Bytes

File metadata and controls

34 lines (27 loc) · 960 Bytes

embedded-mysql

Maven dependency

pom.xml
<dependency>
    <groupId>com.playtika.testcontainers</groupId>
    <artifactId>embedded-mysql</artifactId>
    <scope>test</scope>
</dependency>

Consumes (via bootstrap.properties)

  • embedded.mysql.enabled (true|false, default is 'true')

  • embedded.mysql.reuseContainer (true|false, default is 'false')

  • embedded.mysql.encoding (default is 'utf8mb4')

  • embedded.mysql.collation (default is 'utf8mb4_unicode_ci')

  • embedded.mysql.dockerImage (default is set to 'mysql:5.7.22')

  • embedded.mysql.waitTimeoutInSeconds (default is 60 seconds)

  • embedded.mysql.initScriptPath (default is null)

Produces

  • embedded.mysql.port

  • embedded.mysql.host

  • embedded.mysql.schema

  • embedded.mysql.user

  • embedded.mysql.password