Hey Everyone,
I am having some strange problems with the connector when I try to create an index.
queryString = string.Format("Create index {0} on {1} ({2}) ", idxName, tableName, columns);
command = new MySqlCommand(queryString, connection);
command.CommandTimeout = 9999999;
command.ExecuteNonQuery();
I have checked the commandtimeout value after i set it and it stays at 9999999. If I am running in the debugger it seems to follow this when I run it as a windows service, it times out after 30 seconds. Any Ideas?
I am having some strange problems with the connector when I try to create an index.
queryString = string.Format("Create index {0} on {1} ({2}) ", idxName, tableName, columns);
command = new MySqlCommand(queryString, connection);
command.CommandTimeout = 9999999;
command.ExecuteNonQuery();
I have checked the commandtimeout value after i set it and it stays at 9999999. If I am running in the debugger it seems to follow this when I run it as a windows service, it times out after 30 seconds. Any Ideas?