public class MySQLResourceManager extends AbstractJDBCResourceManager<MySQLContainer<?>>
AbstractJDBCResourceManager abstract class.
The class supports one database, and multiple tables per database object. A database is * created when the container first spins up, if one is not given.
The class is thread-safe.
| Modifier and Type | Class and Description |
|---|---|
static class |
MySQLResourceManager.Builder
Builder for
MySQLResourceManager. |
JDBCResourceManager.JDBCSchemadatabaseName, DEFAULT_JDBC_USERNAME, driver, password, usernameHOST_IP, port| Modifier and Type | Method and Description |
|---|---|
static MySQLResourceManager.Builder |
builder(java.lang.String testId) |
protected int |
getJDBCPort()
Return the default port that this JDBC implementation listens on.
|
java.lang.String |
getJDBCPrefix() |
createTable, getDatabaseName, getFirstRow, getPassword, getTableSchema, getUri, getUsername, readTable, runSQLQuery, runSQLUpdate, writecleanupAll, getDockerImageName, getHost, getPortpublic static MySQLResourceManager.Builder builder(java.lang.String testId)
protected int getJDBCPort()
AbstractJDBCResourceManagergetJDBCPort in class AbstractJDBCResourceManager<MySQLContainer<?>>public java.lang.String getJDBCPrefix()
getJDBCPrefix in class AbstractJDBCResourceManager<MySQLContainer<?>>