Remote server MySQL.

Treb4 years ago

Hi, I have a traccar server in a server that is reading from a MySQL database on the same server. This database, in turn, is a slave to the main host on another IP. It reads and works correctly, but the updates from the host, to see them on this server (new devices, movements, etc.) only come out when I restart the tractor service. I use in both Ubuntu and MySQL. Any solution?

hola, tengo un trancar en un servidor que está leyendo de una base MySQL del mismo servidor. Esta base de datos a su vez, es esclavo del host principal en otra IP. Lee y funciona correctamente, pero las actualizaciones del host, para verlas en este servidor ( nuevos dispositivos, movientos, etc) solamente salen cuando reinicio el servicio de tractor. Utilizo en ambos Ubuntu y MySQL. Alguna solución?

Anton Tananaev4 years ago

Traccar has internal cache, so it won't pick up changes done directly in the database.

Treb4 years ago

Thanks for the quick reply.