<@U04S8PLJWMT> getting this failure message on 24 ...
# ask-ai
f
@kapa.ai getting this failure message on 24 hour sync frequency: Saved offset no longer present on the server. Please reset the connection, and then increase binlog retention and/or increase sync frequency.
k
This error message indicates that Airbyte is unable to find the saved offset (the position in the binlog from which to resume incremental sync) because the relevant binlog entries have already been purged from the server. This typically happens when the sync frequency is too low (e.g., every 24 hours), and the binlog retention period is not long enough to keep the required logs between syncs. How to resolve: - Increase binlog retention: For standard MySQL installations, set a higher value for
binlog_expire_logs_seconds
(recommended: at least 7 days). For Amazon RDS MySQL, set the
binlog retention hours
parameter to at least 24 hours or higher. For example:
Copy code
call mysql.rds_set_configuration('binlog retention hours', 24);
Note: Increasing retention will require more disk space. - Increase sync frequency: Run your Airbyte syncs more frequently so that the required binlog entries are still available when the next sync starts. This issue and its solutions are described in the Airbyte documentation for MySQL sources under the section "Under CDC incremental mode, there are still full refresh syncs" [Troubleshooting MySQL Sources](https://docs.airbyte.com/integrations/sources/mysql/mysql-troubleshooting#troubleshooting). If you continue to see this error, you will need to reset the connection in Airbyte to perform a full refresh, and then adjust your retention and/or sync frequency settings to prevent it from happening again.