connect method
Establishes a connection to the database.
This should be called before executing any queries.
Implementation
@override
Future<void> connect() async {
_pool = MySQLConnectionPool(
host: config.host,
port: config.port,
userName: config.username,
password: config.password,
databaseName: config.database,
maxConnections: _poolConfig.maxConnections,
secure: false,
timeoutMs: _poolConfig.connectionTimeout.inMilliseconds,
);
}