Report this

What is the reason for this report?

mettre à jour une base de donnée distante

Posted on November 6, 2020

je voudrais mettre a jour une base de donnée distante en le synchronisant a une base donnée locale a chaque fois mon pc sera connecté a internet mais je sais pas par ou commercé si vous pouvais m’aider a avoir des docs ou des cours ça me ferra plaisir merci d’avance



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @mitty,

It seems like you need to write a custom script to execute this for you. Depending on your OS on your PC, it will be done in a different way. If you are using Unix, you can add a cron job on reboot. If you are on windows, you’ll need to add a scheduled jog.

Anyway, the first thing is to write the script. If you want to use PHP, I’ll suggest checking out functions like shell_exec and PDO connections with PHP.

Regards, KFSys

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.