Many a times you might need to know what database is being currently used. There is a simple command DATABASE() which will return the current database. In this video we will print the return value of DATABASE() with help of select command on MySQL console