connect static method
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);
}