WordPress.org

Ready to get started?Download WordPress

Forums

Databases on localhost (4 posts)

  1. Ken Samuels
    Member
    Posted 2 years ago #

    I have installed two wordpress sites on my local machine for test and developement purposes. Everthing worked well under the original install. Now, I want to take the database from one site and rename it and make it so that the other site uses it. I have tried downloading the database and importing it into the other database but with no luck. In the wp-config.php file, I changed the database name that is being looked for and the database prefix all to no avail. I'm sure that this is a simple fix and I am not seeing something but after trying to work through it for the past two days, it is time to cry "Uncle" and ask for your help.

  2. esmi
    Forum Moderator
    Posted 2 years ago #

  3. pvashist75
    Member
    Posted 2 years ago #

    try importing the database after the wordpress installation is complete and you see the homepage displaying "just another wordpress site".
    then go to phpmyadmin and import the database from other site.

    and i don't how are you downloading the database but i did it using the export option in phpmyadmin.

  4. shardulpandey
    Member
    Posted 2 years ago #

    This tutorial might be helpful for you.

Topic Closed

This topic has been closed to new replies.

About this Topic