Connection not saved in kate SQL Plugin

I’m using the SQL plugin in kate and would like to save my connection settings in the Kate session but this functionality doesn’t seem to work.

Steps: I enabled the SQL Plugin in Kate, and in the Confuguration I also enabled “Save and restore connections in Kate session”. However, on restarting kate with the same session, the list of connections is empty. Is this not how it’s supposed to work? The connection is using the QPSQL driver, the database is local if that’s relevant.

Alternatively, I would also be OK to save the password in .pgpass or use ident authentication but these don’t work in the sql plugin as the password is a required field (I can connect to the database from the command line just invoking “psql” without any parameters.)

It’s a bug. Or, more precisly, the save/load for the katesqlplugin is not implemented.

https://bugs.kde.org/show_bug.cgi?id=411920

I am not sure about the lifecycle for plugins, so it might take a while until a fix arrives. I think there is another KDE app for accessing dbs. Tried that once but I am usually doing everything on cli