MySQL show current database 2018-04-01 07:17

Use following SQL to show the database name which you are connecting.

mysql> select database();
+------------+
| database() |
+------------+
| db_test    |
+------------+
1 row in set (0.00 sec)

mysql> 

EOF