how to see the current database in mysql code example Example: how to show current database in mysql CopySELECT database();