Tuesday, June 27th, 2017

Drop database from mysql

0

Drop database from mysql

The drop database command is used when you no longer need one of the SQL databases on your server. It will remove it permanently.

Query Syntax:

drop database databasename; //mysql

Examples: If the database to be dropped is called “customer_profile”, run the following query to delete the entire database. This will remove the database ‘customer_profile’ from the MySQL server. This is irrecoverable and there is no prompting to see if you really do want to drop the database.

drop database customer_profile;

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • LinkedIn
  • RSS
  • Technorati
  • Twitter

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!

Secure Linux Web Hosting