Skip to content

Releases: mrjgreen/db-sync

Added --hash (-H) command line option

01 May 20:21
Compare
Choose a tag to compare

Use --hash (-H) to choose the hash function on the CLI:

Example:

db-sync --user root --password mypass --hash sha1 127.0.0.1 111.222.3.44 web.customers

Added quiet option and return correct error code on failure

01 Mar 23:57
2a35f3e
Compare
Choose a tag to compare
  • added the --quiet (-q) option to suppress logging
  • return correct non-zero error code from cli tool on error
  • allow port to be specified in source/target DSN on cli (host:port)

Quieter output by default. --vebose (-v) option added

02 Jun 15:05
Compare
Choose a tag to compare

Pre-Release V3

07 Sep 09:34
Compare
Choose a tag to compare
Pre-Release V3 Pre-release
Pre-release

Its still in development, but has major advantages over the old version.

  • Works on compound primary keys
  • Works where primary key columns are not integers
  • Binary search for inconsistencies
  • Fixed MD5 - hash generation bug
  • Allows deletion of data from target table no longer in source
  • Better tests
  • All identifiers quoted correctly

Missing Features:

  • Command only allows syncing of a single table, not whole database (additional command will be added to do whole database)
  • Cannot choose to only compare certain columns - all synced columns will be compared (additional option to ignore columns, e.g. long text fields, where doing comparison)

Version 2.5

26 Aug 12:26
Compare
Choose a tag to compare
v2.5.0

Update README.md

Return affected row count

05 Mar 11:34
Compare
Choose a tag to compare
v2.4.0

affected row count

Gap skip optimisation

15 Jan 17:04
Compare
Choose a tag to compare

Only skip gaps when no rows were found

Skip large gaps in primary key

14 Jan 10:58
Compare
Choose a tag to compare
v2.2.0

skip large gaps in index

v2.1.0

23 Oct 10:07
Compare
Choose a tag to compare
built in connection

v2.0.0

22 Oct 13:20
Compare
Choose a tag to compare

Bundled Dbal