Question about deleting tables in a wordpress database.

Discussion in 'Databases' started by Crynos, Mar 29, 2008.

  1. #1
    I have some plugins that added tables to my wordpress database. I no longer use those plugins, and now want to clean up my database. Can I just delete the tables that were added by the plugins with no negative effects? Or is there some other way I should do it?
    Thanks
     
    Crynos, Mar 29, 2008 IP
  2. just-4-teens

    just-4-teens Peon

    Messages:
    3,967
    Likes Received:
    168
    Best Answers:
    0
    Trophy Points:
    0
    #2
    yes providing you have un-installed/de-activated the plugin first.

    also make a backup of the database just in case.
     
    just-4-teens, Mar 29, 2008 IP
  3. godsofchaos

    godsofchaos Peon

    Messages:
    2,595
    Likes Received:
    124
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes you can just delete those tables safely without any worries.
     
    godsofchaos, Mar 29, 2008 IP
  4. Pandemix

    Pandemix Well-Known Member

    Messages:
    954
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    120
    #4
    In the WordPress codex it lists all the WordPress tables from your fresh installation. As long as you don't delete the tables listed, or any tables used on an active plugin you should be alright.

    Link: http://codex.wordpress.org/Database_Description/2.3 (it says 2.3, but I'm pretty sure these are the same names for the tables in 2.5)
     
    Pandemix, Mar 29, 2008 IP