Current Location: Home> Function Categories> mysqli::debug

mysqli::debug

(mysqli_debug) Perform debugging operations
Name:mysqli::debug
Category:MySQLi
Programming Language:php
One-line Description:Perform a debugging operation.

Definition and usage

mysqli_debug() function is used to perform debugging operations.

Note: To use this function, the MySQL client library must be compiled to support debugging.

Example

Create a trace file in "/temp/client.trace" of the local machine:

 <?php
mysqli_debug ( "d:t:o,/temp/client.trace" ) ;
?>

grammar

 mysqli_debug ( message ) ;
parameter describe
message Required. A string representing the debug operation to be performed.