After calling mysql_select_db to grab a database, is there any way to later output the name of the database that is currently selected? This seems very basic bu
p.s. I didn't want to take the liberty of modifying @cwallenpoole's answer to reflect the fact that this is a MySQL question and not an Oracle question and doesn't need DUAL.