-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Database role in QGIS configuration reverted to username of operating system #82
Comments
Dear Christian, From what you describe, it sounds like the database user ("cbraun_21926") does not exist in the database itself. Did you do it? Or did the database administrator did it for you? If this does not solve your problem, or I have misunderstood your issue, let us know! GA |
Sorry, I wasn't explicit enough: The DB role that I have specified in the DB connection gets overwritten with cbraun_21926. cbraun_21926 is not existing in the DB and never was before. |
Hi @christianbraun, I have tried to replicate your error on my system, but unfortunately I could not. So we need a bit more details. From my side:
When I define a new connection from the plugin GUI, I enter the parameters in the GUI window and then I store them. All seems fine. I also created a new connection using QGIS' Data source manager. Again, I could create a new connection an use it from the plugin. Looking forward to more details from you. Best regards, GA |
Hi! OK, at least we are narrowing it down little by little :-) Now, we haven't changed anything in the plugin in the way we deal with connections since quite some time. So, my next questions are:
Last but not least, I have no MacOs machine, I will ask some colleagues to check. Best regards, GA |
Dear all,
I am trying to establish a connection to a 3DCityDB in QGIS via the plugin. Credentials are stored as configuration.
However, I get the following error:
Invalid connection settings ERROR at citydb-tools/cdb4/gui_db_connector/functions/conn_functions.py>open_db_connection
ERROR: FATAL: role "cbraun_21926" does not exist
It puts as role my username of the operation system (cbraun_21926) instead of the one from the configuration. Connection fails because the role is not present in the db.
Many thanks in advance,
Christian
The text was updated successfully, but these errors were encountered: