List databases : SQL / MySQL examples (example source code) » Database » Current Database

C++
SQL / MySQL
Java Products
Java Articles
SQL / MySQL Home  »   Database   » [  Current Database  ]   
 



List databases

/*
mysql> create database info;

mysql> Show databases;
+----------+
| Database |
+----------+
| info     |
| java2s   |
| mysql    |
| t        |
| test     |
| ttt      |
+----------+
6 rows in set (0.00 sec)

mysql> use info;
Database changed

*/  
create database info;

Show databases;

use info;
Related examples in the same category
1.  Show databases in mysql








Home| Contact Us
Copyright 2003 - 04 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.