vertx / io.vertx.ext.asyncsql / MySQLClient

# MySQLClient

`interface MySQLClient : AsyncSQLClient`

Represents an asynchronous MySQL client

Author
Joern Bernhardt.

Author
Tim Fox

### Properties

DEFAULT_CHARSET | `static val DEFAULT_CHARSET: String` The default charset.
DEFAULT_CONNECT_TIMEOUT | `static val DEFAULT_CONNECT_TIMEOUT: Long` The default timeout for connect.
DEFAULT_DATABASE | `static val DEFAULT_DATABASE: String` The default database.
DEFAULT_HOST | `static val DEFAULT_HOST: String` The default host.
DEFAULT_PASSWORD | `static val DEFAULT_PASSWORD: String` The default database password.
DEFAULT_POOL_NAME | `static val DEFAULT_POOL_NAME: String` The default name used for the MySQL pool.
DEFAULT_PORT | `static val DEFAULT_PORT: Int` The default port.
DEFAULT_TEST_TIMEOUT | `static val DEFAULT_TEST_TIMEOUT: Long` The default timeout for tests.
DEFAULT_USER | `static val DEFAULT_USER: String` The default database user.

### Functions

createNonShared | `open static fun createNonShared(vertx: Vertx, config: JsonObject): AsyncSQLClient` Create a MySQL client which maintains its own pool.
createShared | `open static fun createShared(vertx: Vertx, config: JsonObject, poolName: String): AsyncSQLClient` Create a MySQL client which shares its data source with any other MySQL clients created with the same data source name `open static fun createShared(vertx: Vertx, config: JsonObject): AsyncSQLClient` Like `#createShared(io.vertx.core.Vertx, JsonObject, String)` but with the default pool name