We connect Metabase to a database via an SSH tunnel. Whenever the database goes down (for various reasons) we need to manually reconnect the database. Is there any way to automate this? Via the API (we have looked but couldn’t find anything) or via some other means?
@flamber Just to expand on @jcandiloro question. The built-in SSH tunnel seems to work fine overall, except it doesn’t reestablish the connection if DB goes off-line. To make it work again we need to go to Metabase and press the “Save changes” button on Database config page. That seems like a little thing to make it work perfectly. For example an API that would allow us to press that “Save changes” button via a script. Would you have any ideas how to achieve that ?