# Coppermine Photo Gallery v1.5.x: Documentation and Manual

No translation available

# Un-Installing

If you no longer need your coppermine gallery and want to get rid of it, you need to perform two actions:

- Remove the database tables
  Use a third-party tool like phpMyAdmin to delete all coppermine tables (see screenshot). You can determine what tables need to be deleted by looking at the table prefixes: all coppermine-tables use the table prefix that you chose when you first run the coppermine installer. If you're not sure what you're doing, perform a backup (database dump) before ultimately deleting the tables. By default, the table prefix is `cpg15x_` (but it may be different if you chose another prefix during install). When using phpMyAdmin, tick all coppermine-tables, then scroll down to the bottom of the page and choose "drop" from the dropdown labelled "with selected". Confirm the security-dialog with "yes".
  Alternatively (if you don't have phpMyAdmin available), create a PHP file (using a plain-text editor like notepad.exe) with this content:

      <?php
      // add the mysql connection stuff here

      DROP TABLE `cpg15x_albums`, `cpg15x_banned`, `cpg15x_bridge`, `cpg15x_categories`,
      `cpg15x_comments`, `cpg15x_config`, `cpg15x_dict`, `cpg15x_ecards`, `cpg15x_exif`,
      `cpg15x_favpics`, `cpg15x_filetypes`, `cpg15x_hit_stats`, `cpg15x_pictures`, `cpg15x_plugins`,
      `cpg15x_sessions`, `cpg15x_temp_data`, `cpg15x_temp_messages`, `cpg15x_usergroups`,
      `cpg15x_users`, `cpg15x_votes`, `cpg15x_vote_stats`;
      ?>

  safe the file as "droptables.php" and upload that file (using your FTP app) to the folder your coppermine gallery resides in. Then run the file you just uploaded in your browser by going to the URL `http://yourdomain.tld/your_coppermine_folder/droptables.php`
- Remove the files
  Use your FTP app to remove the folder you have installed your coppermine gallery in.