To permantly delete an MySQL database:

  • log into your database >mysql -u [user_account_that_has_admin_writes] -p
    • Warning: The next step will permanently remove a database.
  • type >DROP DATABASE [mysql_database_name];
    • do not use brackets and do not foget to always end your MySQL command with a ;

To create a SQL database:

  • type > CREATE DATABASE database_name;
Tags:
Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

counter