Hi there,
I am trying to return the results of show slave status in a result reader but the reader doesn't get initialized, i tried something like this
// pseudo code
MySqlCommand cmd = new MySqlCommand("show slave status", connection);
MySqlDataReader reader = cmd.ExecuteReader(CommandBehavior.CloseConnection)
if (reader.read()) // here reader is null reference...
{
/// ....
}
thank you,
Ovi
I am trying to return the results of show slave status in a result reader but the reader doesn't get initialized, i tried something like this
// pseudo code
MySqlCommand cmd = new MySqlCommand("show slave status", connection);
MySqlDataReader reader = cmd.ExecuteReader(CommandBehavior.CloseConnection)
if (reader.read()) // here reader is null reference...
{
/// ....
}
thank you,
Ovi