The show variables command lists all user-defined variables and their values.
Syntax:
show variables