Monday, April 5, 2010

How to create a database in mysql

Answer

Use the following command

first login as mysql admin user

$>mysql -u root -p

Then

mysql> CREATE DATABASE mysqlinterview;

Now you have create a database name mysqlinterview

Thats all...

No comments:

Post a Comment