Is there a way to identify who created the MySQL connection?
in file a.php
$conn = mysqli_connect($dbhost, $dbuser, $dbpwd, null, $port, $socket);
I would like to know that this connection was initialized from a.php
I switched on the logger but all it told me that the connection was made but not who initialized it.
Connect root@localhost on using Socket