(PHP 5, PHP 7, PHP 8)
mysqli::dump_debug_info -- mysqli_dump_debug_info — Dump debugging information into the log
Object-oriented style
public mysqli::dump_debug_info(): bool
Procedural style
mysqli_dump_debug_info(mysqli $mysql): bool
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.
mysql
Procedural style only: A mysqli object returned by mysqli_connect() or mysqli_init()
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/mysqli.dump-debug-info.php