DB Manager in 3.11 Master can't connect to PostGIS Enabled database #34132
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
postgresql -> 12
PostGIS -> 3
QGIS -> 3.11 Rev: 50514b9
Ubuntu Linux 19.10
If I use the Data Source Manager I can successfully connect to any of my Postgresql/postgis connections.
I can't connect through DB Manager on any of the databases. No Crashing results.
Connecting through dbmanager results in this:
Starting QGIS in a terminal QGIS gives me this error log (tried connecting to 3 databases):
../../src/core/qgsdatasourceuri.cpp:158 : (QgsDataSourceUri) [0ms] connection timeout ignored
../../src/core/qgsmessagelog.cpp:29 : (logMessage) [17285ms] 2020-01-29T18:48:37 PostGIS[1] Connection to database failed
could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
../../src/providers/postgres/qgspostgresconn.cpp:2185 : (connUri) [11535ms] theConnName = henrycounty
../../src/providers/postgres/qgspostgresconn.cpp:222 : (QgsPostgresConn) [0ms] New PostgreSQL connection for port=5432
../../src/core/qgsdatasourceuri.cpp:158 : (QgsDataSourceUri) [1ms] connection timeout ignored
../../src/core/qgsmessagelog.cpp:29 : (logMessage) [13252ms] 2020-01-29T18:49:02 PostGIS[1] Connection to database failed
could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
../../src/providers/postgres/qgspostgresconn.cpp:2185 : (connUri) [5206ms] theConnName = tristate
../../src/providers/postgres/qgspostgresconn.cpp:222 : (QgsPostgresConn) [0ms] New PostgreSQL connection for port=5432
../../src/core/qgsdatasourceuri.cpp:158 : (QgsDataSourceUri) [1ms] connection timeout ignored
../../src/core/qgsmessagelog.cpp:29 : (logMessage) [18788ms] 2020-01-29T18:49:25 PostGIS[1] Connection to database failed
could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
The text was updated successfully, but these errors were encountered: