Support » Plugin: Database Sync » export and import, no syncing though

  • Hi,

    Perhaps I’m not understanding correctly what this plugin does, but in my opinion it does not sync anything.

    The way it works for me is that I can push my local database to my staging site, but I still need to run the Search and Replace DB script twice for both path and URL.

    I like the fact that I don’t have to go to PHP MyAdmin to do an export and then to go to the staging site to do an import, but to call this a database sync is a bit too much in my opinion, unless I am missing something?

    https://wordpress.org/plugins/database-sync/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author tamlyn

    (@tamlyn)

    If you configure the DB with your live site URL, you can override the WP_SITEURL constant in your wp-config.php in your local environment https://gist.github.com/davejamesmiller/1965636

    That way you can directly copy the DB between local and remote without making any changes.

    Thread Starter Pieter Bos

    (@senlin)

    It’s not only the Site URL that needs changing though, it’s also the PATH.

    And although I did notice the link to the other Gist, that one only targets the posts table and the comments. I have quite a few more tables where both URL and PATH needs changing.

    So we agree then that this plugin does in fact not sync anything? đŸ˜‰

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘export and import, no syncing though’ is closed to new replies.