Support » Localhost Installs » Lost everything when trying to move from localhost to live

  • Resolved freyd


    Hello everyone.

    After 3 weeks of using WordPress on my localhost, I finalized my website. With excitement I moved everything on my FTP (replacing the previous website). Then I go to the url to confirme it is online and I get a WordPress login box. I’m thinking it’s a bit weird but ok, I input my login and password and I click “install” because I have no other choice. Then I’m online on my url/wp-admin.php and I only see an empty blog… I ask a colleague to go to the url, she sees an empty blog instead of my customised header+many tabs and contents I prepared.
    Then I go to localhost/wordpress and it tells me “error establishing database connection”.

    Did I lose all my articles? How can I access to the admin page now? I didn’t move anything.

    I’m a beginner, obviously and I’ve been looking through the forum but didn’t find the exact same thing happening to anyone.

    Thanks in advance for your comments.

Viewing 4 replies - 1 through 4 (of 4 total)
  • is it still working fine on localhost?

    No, when I try to access it on localhost, it says error establishing database connection… Eventhough I didn’t move the location of my wordpress folder.

    What OS and software are you running?

    What we want to do is check to see if the database is still intact, and we’ll work from there. If you’re running Windows with WAMP or XAMPP, you should be able to access phpmyadmin using //localhost/phpmyadmin/

    From here, you’ll want to take a look at the database you installed your site to. This is the database name you used during the WordPress installation.

    I don’t have access to my DB at the minute, but you’re going to look for a table called WP-Posts (Or something like that.) Look under the “Rows” column and see what number is there. If its 0, there’s a problem.

    If you need step by step instructions on how to do this, I’ll be more than happy to help you

    Thank you Kapi, the database was intact. I managed to export it and my website works fine now!
    Topic closed 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Lost everything when trying to move from localhost to live’ is closed to new replies.