Unsupported Screen Size: The viewport size is too small for the theme to render properly.

Data sync deleting rows in target db

forums › forums › SQLyog › Sync tools, Migration, Scheduled Backup and Notifications › Data sync deleting rows in target db

  • This topic is empty.
Viewing 5 reply threads
  • Author
    Posts
    • #16663
      Ritesh
      Member

      Which versions of MySQL & SQLyog are you using?

      Can you mail me the table sturcture and sample data for Agentsmoney?

    • #16664
      wwwild
      Member

      I had the same issue when doing a sync between a MySQL 3.23.x server and MySQL 4 server.

    • #16665
      Ritesh
      Member

      This is an issue when you try to sync data between a MySQL 3.23.x server and a 4.x server.

      Both the versions return different checksums for the same data when used along with concat_ws(). This results in incorrect working of SJA.

      It is recommended to sync data between same versions of MySQL.

    • #16666
      billy44
      Member

      I changed my version of mysql and it did in fact work correctly, except these errors in the log:

      No PRIMARY KEY defined in the table '`Completed`'

      No PRIMARY KEY defined in the table '`Online`'

      No PRIMARY KEY defined in the table '`State_Alabama`'

      No PRIMARY KEY defined in the table '`State_Alaska`'

      I cannot define a primary key in these dbs because the user is inserting the information manually, including the id and all..

      is there a work around on this error?

    • #16667
      Ritesh
      Member

      Right now you need to have a PRIMARY KEY defined for a table to be synced. That is the only way to determine a unique row of data in a table.

      We are working on a work-around where SJA will automatically truncate the data in the target table and do a complete insert from source to target.

    • #16668
      Ritesh
      Member

      The best workaround is to add an auto-increment column in the table.

Viewing 5 reply threads
  • You must be logged in to reply to this topic.