mrjgreen / db-sync

PHP library with command line tool for efficiently syncing tables between remote MySQL databases
MIT License
292 stars 91 forks source link

Is it compatible with MS Windows? #14

Closed Xperianet closed 7 years ago

Xperianet commented 7 years ago

Can I use DB-Sync on Windows, what steps needed to port it to Windows? The binary .phar seems to target Linux only?

mrjgreen commented 7 years ago

I'm not sure how easy/hard this would be to get running on windows... I've never tested it...

What do you see failing? As far as I know there's nothing specific to linux in the code base.

You should be able to execute the db-sync.phar using: php /path/to/db-sync.phar

Xperianet commented 7 years ago

@mrjgreen Thanks, it works well in Windows as well, I have tested. I thought before that the binary is of ELF format, which is not true.

mrjgreen commented 7 years ago

Great!