ballerina/mysql package

Records Summary

Record Description
ClientEndpointConfiguration

The Client endpoint configuration for mysql databases.

Objects Summary

Object Description
Client

Represents an MySQL client endpoint.

public type ClientEndpointConfiguration

The Client endpoint configuration for mysql databases.

Field Name Data Type Default Value Description
host string

The host name of the database to connect

port int 0

The port of the database to connect

name string

The name of the database to connect

username string

Username for the database connection

password string

Password for the database connection

poolOptions PoolOptions

Properties for the connection pool configuration

dbOptions map

DB specific properties

public type Client object

Represents an MySQL client endpoint.

  • <Client> getCallerActions() returns (CallerActions)

    Returns the connector that the client code uses.

    Return Type Description
    CallerActions
  • <Client> stop()

    Stops the JDBC client.