title: Getting WordPress database name/username/password with PHP
body: <p>I'm writing a WordPress plug-in and need to read the database name, username, and password (In order to do a sql dump).  Is this possible?</p>
  
  <p>Thanks-</p>