Can't connect to Redshift
See original GitHub issueHi there,
I’m loving using Sqlectron for connecting to my Postgres databases, but it’s still not working great for Redshift databases yet. In previous versions, it would connect but not be able to get results, and I think this is related to the schema work that’s talked about in https://github.com/sqlectron/sqlectron-gui/issues/153 However, in 1.17.0, there seems to be a regression where it can’t even connect anymore. Here’s the error:
Connection Error
unrecognized configuration parameter "application_name"
Based on this error cropping up in other projects, I think it’s related to newer pg libraries specifying a connection parameter that 8.4 didn’t support. Is there anything I can do to help troubleshoot this error further? I’m happy to run from a source checkout if you can point me to a likely place the error is coming from, or just generic developer documentation.
Thanks.
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (5 by maintainers)
I just realized that will not work 😦 Because each statement is executed separated. So the second statement will be executed with the default schema. I will try this week to merge this PR, so is possible to define the default schema https://github.com/sqlectron/sqlectron-gui/pull/257.
Probably your public schema is empty. And you are trying to access a db/table from a different schema. Unfortunately we do not support different schemas yet. Although there is a PR open to solve part of this problem. What you can do for now to at least be able to execute the query I guess is change the current schema inside the query http://stackoverflow.com/a/25014153/1050818.