This method flushes tables or caches, or resets replication
server information. The connected user must have the
RELOAD privilege.
The options argument should be a bitwise
value using constants from the class
constants.RefreshOption.
See Section 8.9, “Class constants.RefreshOption” for
a list of options.
Example:
>>> from mysql.connector import RefreshOption >>> refresh = RefreshOption.LOG | RefreshOption.THREADS >>> cnx.cmd_refresh(refresh)

User Comments
Add your own comment.