public MySqlErrorCode Initialize(MySqlConnectionInfo connectionInfo) { _connectionInfo = connectionInfo; _updater = new DatabaseUpdater <T>(this); try { using (var connection = _connectionInfo.GetConnection()) { connection.Open(); Log.outInfo(LogFilter.SqlDriver, $"Connected to MySQL(ver: {connection.ServerVersion}) Database: {_connectionInfo.Database}"); return(MySqlErrorCode.None); } } catch (MySqlException ex) { return(HandleMySQLException(ex)); } }