mysqli::dump_debug_info

mysqli_dump_debug_info

(PHP 5)

mysqli::dump_debug_info -- mysqli_dump_debug_infoDump debugging information into the log

Description

Object oriented style

bool mysqli::dump_debug_info ( void )

Procedural style

bool mysqli_dump_debug_info ( mysqli $link )

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.

Parameters

link

Procedural style only: A link identifier returned by mysqli_connect() or mysqli_init()

Return Values

Returns TRUE on success or FALSE on failure.

See Also

Коментарии

note this instruction can be runned by any user MySQL:
<?php
$mysqli 
-> real_connect('localhost''user_for_tests');// no password, not permissions
print_r($mysqli -> dump_debug_info());// return true or false regardless of user
2022-08-09 18:13:15
http://php5.kiev.ua/manual/ru/mysqli.dump-debug-info.html

    Поддержать сайт на родительском проекте КГБ