2 Stupid 2 Breathe! HELP I Screwed Up WP Install

3 replies
I am too dangerous to be left unsupervised!

I totally screwed up a Wordpress installation. I'm not sure what I did wrong, so I decided to simply re-stall WP... Which I did... Without deleting the WP database first!

I have a total of 6 WP installations on my domain (including the one I screwed up and am now trying to fix). Each installation is in a different directory. (I have several sub-domains attached to the main domain, each in it's own directory.)

My problem is, I don't know which database to delete before I attempt to reinstall WP again. Is there anyway from within WP to determine which database is attached to which WP installation?

Any help in unraveling this mess will be GREATLY appreciated!
#breathe #database #install #installation #screwed #stupid #wordpress
  • Profile picture of the author mywebwork
    Check the wp-config.php file in each installation - it will tell you which database and db user is associated with the installation.

    {{ DiscussionBoard.errors[1830566].message }}
  • Profile picture of the author lisag
    Use PHPMyAdmin and view each database. Hopefully you have a separate database for each domain, or you're hosed anyway.

    Look in each database at the wp_options table. There is a column called siteurl. That will give you your answer.

    -- Lisa G

    {{ DiscussionBoard.errors[1830570].message }}
  • Profile picture of the author SKWeaver
    mywebwork & lisa g: MANY THANKS!!! I appreciate your help!
    {{ DiscussionBoard.errors[1830625].message }}

Trending Topics