Server
server.ConnectionContext.SqlExecutionModes =
setString();
SQlConopen();
cmd.Connection = mySQlCon;
t.CopyAllObjects = true;
t.DropDestinationObjectsFirst = true;
t.CopySchema = true;
t.CopyData = true;
t.DestinationServer = cmbServer.Text;
t.CopyAllDatabaseTriggers = true;
t.CopyAllRules = true;
t.CopyAllSchemas = true;
t.CopyAllTables = true;
t.Options.IncludeIfNotExists = true;
t.CreateTargetDatabase = true;