When setting up redundancy, the remote MySQL user/password is not changed and thus different to the local MySQL user/password (since it is generated during installation of privacyidea-apache2).
If a MySQL resolver exists which is connected to the PI-Database, the synced resolver config will contain the DB-password of the local user which fails on the remote machine.
We should issue a warning during redundancy setup when a SQL-Resolver is detected.
When setting up redundancy, the remote MySQL user/password is not changed and thus different to the local MySQL user/password (since it is generated during installation of privacyidea-apache2). If a MySQL resolver exists which is connected to the PI-Database, the synced resolver config will contain the DB-password of the local user which fails on the remote machine. We should issue a warning during redundancy setup when a SQL-Resolver is detected.