mysql config check
mysqld --help --verbose
will show variables that'd be loaded if process mysqld (re)started.
This will also throw errors if config file /etc/my.cnf
is invalid.
To get variables of current running process,
login to mysql shell and run show variables