-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
44 lines (26 loc) · 1.09 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
DbSync Toolkit
==============
INSTALLATION
1 Rename config.php.example to config.php
Run following command:
$> mv config.php.example config.php
2 Edit config.php
a) Specify database connection settings at "dbParams" section:
dbname
username
password
host (if remote)
b) Specify directory to store config files (section "path"), it must be writeable
c) Specify diff programm (section "diffprog"). It must be installed in your system.
Tested with diff and colordiff. You can try others if you want.
d) Specify database adapter from one of the following:
for MySQL: DbSync_DbAdapter_Pdo_Mysql (requires pdo_mysql)
e) Specify config files adapter from one of the following:
for YAML: DbSync_FileAdapter_SfYaml
3 Make files schema.sh, data.sh, trigger.sh executable
Run following command:
$> chmod +x schema.sh data.sh trigger.sh
DEPENDENCIES
1 PHP 5.2.6 or newer
2 PDO extension
3 Diff or CollorDiff installed