Support » Fixing WordPress » Database problem after wordpress reinstall

  • Resolved Wayne Smith

    (@waynesmith1971)


    A few weeks ago I experienced some problems with my wordpress site in that I was unable to access some of the admin pages like plugins etc. After playing around with different things for a few days and not being able to resolve the issue, I took the decision to remove the site completely through FTP and reinstalling wordpress from scratch.

    Before I did this however, I made a backup copy of the mySQL database for the wordpress site and I also made an identical copy of all the folders and files on the site by copying everything to my desktop PC.

    Today I have created a new mySQL database on my hosting server with all the same details as the original database, i.e. database name, administrator name, password etc and then restored the backup database to the new mySQL database, and that clearly shows all the wordpress records which leads me to believe the backup was successful.

    I then downloaded and FTP’d the wordpress installation files to my domain and followed the 5 minute installation process, which seemed to work as expected – I then installed the same theme that I had previously and all the same plugins as before, but the site is not populating anything from the mySQL database – none of my posts or pictures, or anything else for that matter that were on the old site are showing up on the newly installed wordpress site and I wondered if there’s anything else I should be doing?

    All the database connection details are correct and havent changed, even during the installation I received a message to indicate that wordpress could communicate with the database, so Im left scratching my head now wondering if I’ve missed something.

    Can anyone offer any pointers or suggestions please, as I desperatly want to get my site back up and running again.

    Many thanks in advance
    Wayne

Viewing 2 replies - 1 through 2 (of 2 total)
  • Make sure your $table_prefix is correct in wp-config.php.

    That was the problem, thanks very much for taking the time to reply to my post … a quick check of the $table_prefix and I realised I had it configured differently to the default setting.

    Many thanks again
    Wayne

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Database problem after wordpress reinstall’ is closed to new replies.