exposedDatabaseConnectMysql

fun ConnectionConfig.Socket.exposedDatabaseConnectMysql(setupConnection: (Connection) -> Unit = {}, databaseConfig: DatabaseConfig? = null, manager: (Database) -> TransactionManager = { TransactionManager(it) }): Database(source)

Further configurations such as setupConnection, databaseConfig, and manager are most likely not needed because the Exposed Database is mostly only used for table creation and SQL generation.


@JvmName(name = "exposedDatabaseConnectMysqlWithParameterConnectionConfig")
fun exposedDatabaseConnectMysql(socketConnectionConfig: ConnectionConfig.Socket, setupConnection: (Connection) -> Unit = {}, databaseConfig: DatabaseConfig? = null, manager: (Database) -> TransactionManager = { TransactionManager(it) }): Database(source)