title: codeigniter display database connection information
body: <p>I have a config with multiple DB's and based on the constraints passed to the config a DB is used. With that, I am trying to debug to ensure the right DB is used when I want it to be. So I need to see what DB is being used. I remember once having found this gem that would display that information but did not save it nor do I remember the search terms that lead me to it.</p>
  
  <p>Overall I just want to print out the db host, db name, and connection information so I can make sure its lining up with the plan.</p>
  
  <p>I want to say the command was something like <code>$this-&gt;db()</code> but that doesn't display anything. So does anyone by chance happen to know? Cause I can't find it in the CI guide either.</p>