That can be a moronic question
There is a program on c # there is a query to mySql already approximately like this:
while (!(Connect.State == System.Data.ConnectionState.Open)) { Connect.Open(); } MySqlCommand command = new MySqlCommand(sqlQuery, Connect); return command.ExecuteReader(); That is the question
When requesting to get 50 lines, it gives an error (I understand that it is not correct, but each request is a separate command, it is simply called in the class constructor, when the array is filled)
Connection must be valid and open. Well, that's actually the question of what could be wrong.