Skip to content

Automatically exported from code.google.com/p/php-dbsync

License

Notifications You must be signed in to change notification settings

simha95/php-dbsync

Repository files navigation

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

About

Automatically exported from code.google.com/p/php-dbsync

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published