Please note: If this FAQ s empty you must choose English language from the drop-down-box below. Only English content is available as of now!
Navigation
- FAQ Home
- All categories
- About Webyog support and about this FAQ
- About the SQLyog program

- Connection issues

- Using the GUI
- Managing your MySQL Database Systems

- Database Schema Synchronization
- MySQL DATA synchronization
- Notification Services
- Importing external data
- Backup/Restore
- SQLyog Job Agent (SJA)

- Working with Views, Stored Procedures and Triggers
- Character Set and Localization Issues
- MySQL bugs that affect SQLyog
- Questions on Open Source and Compiling
- Instant Response
- Sitemap
Most popular FAQs 
- I get error 1130 "Host is not allowed to ... (115538 views)
- Error no. 2003: Can't connect... (52190 views)
- Error no. 1251: "Client does not support authentication..." (48123 views)
- Error no. 1045: "Connection denied..." (41402 views)
- SQLyog Version History (40017 views)
- What is HTTP-tunneling? (29328 views)
- Error No. 2005: Unknown MySQL server host... (28432 views)
- What Is SSH and SSH-tunneling? (25525 views)
- Why are Stored Procedures not created when I import ... (23531 views)
- Do I need PHP to use SQLyog with MySQL? ... (21544 views)
Latest FAQs 
- SQLyog Version History (2010-03-09 03:20)
- SQLyog is a client for the MySQL server - ... (2009-09-11 07:48)
- Can I use SQLyog with the various SQL-modes available ... (2009-08-20 08:02)
- Failed dependency for libstdc++.so.5 error (2009-08-13 11:22)
- Wrong results are returned for FOUND_ROWS(). (2009-08-12 06:31)
MySQL DATA synchronization
Is it true that I need a Primary Key to use the SQLyog Synchronization Tool?
No - not anymore! From SQLyog version 5.0 synchronization is possible without a Primary Key as well.
But it is recommended to use a Primary key when it is possible to do so, because
- without a PK you cannot UPDATE rows. Only INSERTs and DELETEs are possible. Non-existing rows on target that exist on source will be inserted and existing rows on targets that don't exixt on source will be deleted (if not 'never delete' is set). A row is identifed by its complete dataset
- it also reduces the complexity of the calculations that the client running the Synchronization tool need to perform.
But in some cases applications will only accept database schemas that have a very specific structure - a structure generated by the application itself. Sometimes adding a PK to the tables will cause the application to refuse working with the database.
Even in such and similar cases you can now use the SQLyog Synchronization tool.
Tags: -
Related entries:
- Do I need PHP to use SQLyog with MySQL?
- SQLyog gives you the most options for connecting to MySQL
- Welcome to the Webyog FAQ
- Installation and upgrading
- Buying and Licensing SQLyog
Last update: 2005-11-30 08:38
Author: Peter Laursen
Revision: 1.0
You can comment this FAQ