vertx / io.vertx.rxjava.ext.asyncsql / MySQLClient / createShared

# 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

### Parameters

`vertx` - the Vert.x instance

`config` - the configuration

`poolName` - the pool name

Return
the client

`open static fun createShared(vertx: Vertx, config: JsonObject): AsyncSQLClient`

Like `io.vertx.rxjava.ext.asyncsql.MySQLClient#createShared` but with the default pool name

### Parameters

`vertx` - the Vert.x instance

`config` - the configuration

Return
the client