Is it possible to retrieve detailed information about a MySQL resource in PHP?
<p>I am dealing with a (PHP5) class that uses a MySQL resource (<code>public $_conn</code>). When I do <code>print_r($this-&gt;-conn)</code>, I get a text such as <em>Resource id #30</em>.</p>

<p>Is it possible to get the connection details for that particular resource? I have to get at least the MySQL username?</p>
