Friday, 13 June 2014

MySQL: How to delete database content

To delete database content perform the following steps:

  1. mysql
  2. show databases;
  3. use ´database_name´;
  4. delete from ´database_name´;
the first command ´mysql´ used without specifying any connection parameters means that the default values will be applied:

No comments:

Post a Comment