Can't open PostGIS database in DBManager, QVariant error #27068
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
DB Manager
Relating to the DB Manager core plugin
Regression
Something which used to work, but doesn't anymore
Author Name: Etienne Trimaille (@Gustry)
Original Redmine Issue: 19240
Affected QGIS version: 3.1(master)
Redmine category:db_manager
While I'm trying to connect to my PG database in the DB Manager:
I couldn't expand it in the tree view (see tables, execute queries etc...)
I got this error on 2 computers with 2 different databases so it might happen to someone else.
I fixed it by going into QGIS Settings, Advanced, and then "PostgreSQL/connections/my_connection/sslmode" = 1, it was previously a string like "SslDisable". I'm not sure how I got a string instead of integer. Now I can open again the DB Manager.
The text was updated successfully, but these errors were encountered: