In this case I need raspberry pi a master and server as slave. In replication case slave connect to master. But I need that raspberry pi when go online connect to server and update database with new records. And as I know replication without internet connections got errors...rpdom wrote: ↑Mon Jan 21, 2019 12:49 pmIs there a reason that simple replication can't work? For example, the same table in both databases gets updated independently and the changes need to be merged rather than just replicated from one system to the other. MariaDB (replaced MySQL a while back) can just about handle that. I had, until recently, been doing that for the last two and a half years with four servers being updated and replicating the updates to each other.