How to create MySQL database?
Submitted by Richard on Wed, 10/14/2009 - 06:01
Login to your MySQL database server
mysql -u root -p
and type this command:
mysql> create database test_db;
Query OK, 1 row affected (0.00 sec)
Query OK, 1 row affected (0.00 sec)
To check your newly created database, type this command:
mysql> show databases;
- +--------------------+
- | Database |
- +--------------------+
- | information_schema |
- | mysql |
- | test |
- | test_db |
- +--------------------+
- 4 rows in set (0.00 sec)
Bookmark/Search this post with:


Delicious
Digg
StumbleUpon
Furl
Facebook
Twitter
Google
Yahoo
Buzz Up!
LinkedIn
Technorati



Comments
Post new comment