How to update a local development plugin on a separate machine

You should try to create a git, you push from local to there and this plugin (or others, there are plenty):

https://github.com/afragen/github-updater

Syncs the code.

Good luck.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)