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
- SQL Scheduler and Reporting Tool
- 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
- Sitemap
1 user online | 1 Guest and 0 Registered
Most popular FAQs 
- I get error 1130 "Host is not allowed to ... (169224 views)
- Error no. 2003: Can't connect... (86215 views)
- SQLyog Version History (63912 views)
- Error no. 1045: "Connection denied..." (61323 views)
- Error no. 1251: "Client does not support authentication..." (58309 views)
- Error No. 2005: Unknown MySQL server host... (50162 views)
- What is HTTP-tunneling? (42269 views)
- What Is SSH and SSH-tunneling? (38047 views)
- Can I use SQLyog with the WINE Windows emulator ... (34918 views)
- Why are Stored Procedures not created when I import ... (34261 views)
Latest FAQs 
- SQLyog Version History (2012-01-26 08:20)
- SQLyog is a client for the MySQL server - ... (2011-11-04 04:48)
- I get error 1130 "Host is not allowed to ... (2011-11-01 05:21)
- Problems on Ubuntu 11.x (2011-10-29 13:02)
- Problems creating a functional DSN on 64 bit Windows. ... (2011-09-15 14:34)
Sticky FAQs
MySQL DATA synchronization
ID #1048
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 SQLyog FAQ
- Installation and upgrading
- Buying and Licensing SQLyog
Last update: 2005-11-30 08:38
Author: Peter Laursen
Revision: 1.0
{translationForm}
You can comment this FAQ