(PHP 5)
mysqli->dump_debug_info() — Dump debugging information into the log
Procedural style:
Object oriented style (method):
This function is designed to be executed by an user with the SUPER privilege and is used to dump debugging information into the log for the MySQL Server relating to the connection.
Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()
Returns TRUE on success or FALSE on failure.