Skip to content

Commit 869b6c7

Browse files
authored
Update README.md
1 parent c91cc29 commit 869b6c7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,14 @@ MySQL Database Synchronizer is a library that aids the synchronization of two My
44
This library also supports a custom database name mapping, i.e. database, table and attribute names of the records that are to be synchronized can be different in the server and the client databases. Also, which tables and which attributes within these tables are to be synchronized can also be decided, i.e. the entire database or an entire table need not be synchronized as a whole. This can be useful when only a part of the database requires synchronization.
55

66
This library uses 'timestamps' occuring in both the server and the client databases to decide which records have not yet been synchronized. Hence, all tables that need synchronization must have one attribute that records the servertime at the time of record entry.
7+
8+
Example Code:
9+
10+
```java
11+
import sync.db.mysql.*; //Import the MySQLDBSync.jar file into your project's lib folder
12+
13+
public class Test{
14+
public static void main(String args[]){
15+
}
16+
}
17+
```

0 commit comments

Comments
 (0)