Database name change (3 posts)

  1. bnbfinder
    Posted 8 years ago #

    I have wordpress running fine but I wanted to change the database name that it is using.

    I changed wp-config.php and I copied everything over to the new database and admin works perfectly.

    When I go to the blog the posts show up but the links, comments, and archives all say they can't connect to the old database name:

    Table 'bnbfinder_usa.blog_links' doesn't exist]

    The table name should be bnbfinder_blog not bnbfinder_usa.
    bnbfinder_usa was the old name.

    It seems still have the old database name in memory but I don't undestand how that could be if part of the page is loading and it's using the same db class.

  2. Samuel B

    Posted 8 years ago #

    Did you export the db - then import it to the new one?

  3. bnbfinder
    Posted 8 years ago #

    yes, I copied all the tables to the new database.

    The problem to me seems to be some sort of caching that is going on related to the ezdb call that is being made.

Topic Closed

This topic has been closed to new replies.

About this Topic