Skip to content

Structure

MySQLConfiguration

A set of parameters used to connect to a MySQL database.
struct MySQLConfiguration

Topics

Initializers

Instance Properties

  • address
    A closure which returns the NIO SocketAddress for a server.
  • database
    An optional initial default database for the connection.
  • password
    The password used to authenticate the connection. May be an empty string.
  • tlsConfiguration
    Optional configuration for TLS-based connection encryption.
  • username
    The username used to authenticate the connection.

Type Properties

Relationships

Conforms To

  • Swift.Sendable
  • Swift.SendableMetatype