open static method

Future<MysqlDriver> open(
  1. MysqlOptions options
)

Opens MySQL 8.4 or newer and configures UTC and strict SQL behavior.

Implementation

static Future<MysqlDriver> open(MysqlOptions options) async {
  final opened = await _openMysql(options, SqlDialect.mysql);
  return MysqlDriver._(opened.connection, options, opened.version);
}