My first post here - hello 🙂
I work as IT technician, and sometimes me and my colleagues need to fill inn a "work log" without internet access. We currently use a really old custom build version of Lotus Notes - were we can replicate and update the database as soon as we're back online. For several reasons we now want to use MySQL for hosting our data.
I have installed Apache with php and MySQL on my local XP computer. Works very well. So I thought - what about writing the work log to the local MySQL database on my laptop, and then update our central MySQL database on our Debian server once internet connection i established again?
So, naturally, I run into some difficulties - since I'm not working much with coding:
How to work with two database connections on two different servers simultaneously? Once I use 'mysql_connect' for the second database I can not get data from the first database any more!
My idea is to check the central database for new records since my last synchronization, receive updates from my colleagues and send my own work log. The database will grow large, so I won't send/receive the full database every time, only changes.
Any ideas are greatly welcome 🙂