Skip to main content

db:variables

Shows important variables or custom selected.

tip

Use this command to check MySQL server configuration or troubleshoot issues by viewing important server variables. You can filter results using the search argument.

n98-magerun2.phar db:variables [options] [--] [<search>]

Arguments:

ArgumentDescription
searchOnly output variables of specified name. The wildcard % is supported!

Options:

OptionDescription
--connection=CONNECTIONSelect DB connection type for Magento configurations with several databases
--format[=FORMAT]Output Format. One of [csv,json,json_array,yaml,xml]
--rounding[=ROUNDING]Amount of decimals to display. If -1 then disabled [default: 0]
--no-descriptionDisable description