Delete Specific Database in MySQL Linux Command
October 25 2015
We have already discussed about few MySQL commands, this post describes remove the database from the server using Linux command and MySQL command.
root@host2 [/var/lib/mysql]# mysqladmin drop database You_Database;
Dropping the database is potentially a very bad thing to do.
Any data stored in the database will be destroyed.
Do you really want to drop the 'database' database [y/N] N
OK, aborting database drop!
another option is enter into mysql and give the command,
# mysql
mysql> drop database You_Database;
Query OK, 339 rows affected (0.43 sec)
Comments (0)