The DBUG package
Fred Fish originally created the DBUG package with MySQL server and most of the MySQL clients. If MySQL is configured for debugging, this package makes it possible to generate a trace file that has information about what the program is doing.
There are debug options available to be specified in order to get specific information to the trace files using the DBUG package. It can be used in program invocation with the -# [debug_options] option or the --debug[=debug_options] option.
Most MySQL programs will use a default value if the --debug or -# option is specified without specifying a debug_options value. The server default value is d:t:i:O,\mysqld.trace on Windows and d:t:i:o,/tmp/mysqld.trace on Unix. The effect of this ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access