connect static method

Future<MySqlConnection> connect(
  1. ConnectionSettings c
)
override

Connects to a MySQL server at the given host on port, authenticates using user and password and connects to db.

Implementation

static Future<MySqlConnection> connect(ConnectionSettings c) async {
  var comm = await Comm.connect(c);
  return MySqlConnectionImpl(c.timeout, comm);
}