Sunday, January 27, 2013

Drop MySql Database

DROP DATABASE MYSQL

After we know about how to backup, restore mysql database, now i try to share about how to drop the database. cek it out...

example :
         Database Name      : coba.sql
         username                : tes
         pasword                  : tes123

Sintaks  :
       mysqladmin -u [username] -p [password] drop [database]

So the command is :
      mysqladmin -u tes -p tes123 drop coba

But, don't forget to backup your database first before you do it.

1 comments:

Post a Comment