• 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]
    SELECT DISTINCT…

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Did you export the db – then import it to the new one?

    Thread Starter bnbfinder

    (@bnbfinder)

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Database name change’ is closed to new replies.