Support » Installing WordPress » Moving WordPress – Database Problems

  • Resolved fmervick

    (@fmervick)


    Hi All,

    I have recently changed the host I use for my website(s) from 123-Reg to GoDaddy. I have already successfully moved my personal blog (http://grafikus.at/blog) from my old server to the new one and successfully changed over the database.

    When I try to move a second blog (http://grafikus.at/danceblog4) which is a university project, nothing seems to work properly. I have imported my old database successfully using phpMyAdmin with no MySQL errors that end, and have also edited my wp-config.php file to reflect the new database errors, however every time I navigate to /danceblog4 I get the WordPress install screen.

    I have been through the install process and the blog’s template works okay, but there are no posts or content (i.e. it hasn’t correctly imported the database). I have tried re-importing the database, and still just get the install dialogue each time I navigate to the blog.

    The weird bit is, I have never received a single error message, just the install process each time.

    Does anyone have any ideas as to what might be causing the blog to not recognise its database and its content?

    I should point out that my domain name hasn’t changed, only the database names/passwords.

Viewing 3 replies - 1 through 3 (of 3 total)
  • That means that the database that WordPress is being installed to/uses is not the one that you have imported the data into. The installation screen shows up when the ‘standard’ tables aren’t found. I’d double check the database details mainly to make sure that it is right.

    What’s your wordpress database prefix? (the value placed in the front of your database tables) Is it something other than ‘wp_’?

    If yes, look for this line in your wp-config.php:

    $table_prefix  = 'wp_';

    Change the ‘wp_’ to your db prefix as shown in your database tables.

    Thread Starter fmervick

    (@fmervick)

    Thanks Sniper Kitten – your solution worked perfectly! For some reason it was set to

    $table_prefix = 'truewp_';

    Thanks again!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Moving WordPress – Database Problems’ is closed to new replies.