Deploy tables mysql over ssh
XML config example
<wb3_sync> localhost /usr/bin/mysql /usr/bin/mysqldump /tmp /home/.ssh/_rsa /home/.ssh/_rsa.pub /usr/bin/mysql /tmp
Using class
$sync = new wb3SshSync(); $sync->setConfig($xmlFile); $sync->syncronization(); $errors = $sync->getErrors();