• Greetings, I’ve looked through almost all the youtube tuts I can on this and still can’t get it working.

    My new site works beautifully on WAMP and then using DB Migrate plugin I’ve downloaded and successfully uploaded the database. However, no pages, posts etc. show up online and I’ve got to reinstall WP to even see that nothing was transferred.

    I also tried FileZilla (uploading the changed wpconfig.php) and it sends an error that it cannot make a connection to my db.

    I know this is a simple issue but I’m missing something obvious and haven’t found any sources that nail it.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’m guessing your site URL in WAMP is different to your actual domain name? If so you will need to update the site URLs in your database, in your wp_options table. (It may not be wp_, it may be abc_options, xyz_options, etc).

    error that it cannot make a connection to my db.

    Sounds like your login credentials in wp-config.php are not correct. They will be different to what they were in WAMP. If you have cPanel, you can set these yourself in the MySQL databases section. Alternatively ask your hosting provider for assistance setting up your database and a user correctly, and then once you have those details, pop them into wp-config.php.

    Once you can log in, go to Settings > Permalinks and hit the Save button – this is needed to make the new URL take effect site-wide.

    At the risk of stating the obvious, have you actually transferred your site files to your live server? You don’t specifically say that you have, only that you have uploaded wp-config.php, so that is why I’m asking. WP Migrate DB (I assume that’s the plugin you were referring to) doesn’t transfer files, it only transfers the database.

    doubledesign is also correct in saying that your database settings in wp-config.php are probably incorrect, since uploading that directly from WAMP resulted in a broken db connection. You will need to change database name, database username, password, and host name in that file.

    Thread Starter AndyBonsai

    (@andybonsai)

    Cheers, you guys nailed it. I had a few issue with wpconfig and just made a brand new db used and reuploaded it all and its running great now.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Migration from WAMP problem’ is closed to new replies.