Show databases in mysql : Current Database « Database « SQL / MySQL






Show databases in mysql

 
  
/* SHOW DATABASES; */
SHOW DATABASES;

/*
mysql> SHOW DATABASES;
+----------+
| Database |
+----------+
| info     |
| java2s   |
| mysql    |
| t        |
| test     |
| ttt      |
+----------+
6 rows in set (0.00 sec)


*/
           
         
  








Related examples in the same category

1.List databases
2.Determining the Current Database