how to check the name of database in mysql code example Example: mysql get db name SELECT DATABASE();