title: Get actual opened db connection
body: <p>How can I check if a db-connection is open in PHP? </p>
  
  <p>How can I get a reference to this connection?</p>
  
  <p>How can I determine if it is MySQL, Postgres or something else?</p>