有没有办法使用 sql alchemy 获得当前的奴隶滞后?session.execute('show slave status') 似乎没有返回任何行:
In [0]: list(session.execute('show slave status'))
ResourceClosedError: This result object does not return rows. It has been closed automatically.
有没有办法使用 sql alchemy 获得当前的奴隶滞后?session.execute('show slave status') 似乎没有返回任何行:
In [0]: list(session.execute('show slave status'))
ResourceClosedError: This result object does not return rows. It has been closed automatically.