Connection.this

Construct opened connection.

After the connection is created, and the initial invitation is received from the server client preferences can be set, and authentication can then be attempted.

  1. this(string host, string user, string pwd, string db, ushort port, uint capFlags)
    class Connection
    this
    (
    string host
    ,
    string user
    ,
    string pwd
    ,
    string db
    ,
    ushort port = 3306
    ,)
  2. this(string cs, uint capFlags)

Parameters

host string

An IP address in numeric dotted form, or as a host name.

user string

The user name to authenticate.

db string

Desired initial database.

capFlags uint

The set of flag bits from the server's capabilities that the client requires

Meta