ellie-commons / sequeler

SQL Client built in Vala
GNU General Public License v3.0
804 stars 66 forks source link

could not connect, driver is missing? #383

Open pcace opened 1 year ago

pcace commented 1 year ago

Hi there, i cannot connect to any postgresql servers with sequeler, because of this error message: Bildschirmfoto vom 2023-03-06 14-09-10

it means something like:

was not able to open connection, 
triver "postgreSQL" is not installed

i am running ubuntu 22.04 and installed postgresql via: sudo apt install postgresql postgresql-contrib

what am i missing? or is this a bug?

Cheers and thanks!

laama1 commented 1 year ago

I have the same issue, right after installing Sequeler in Ubuntu22.

No provider 'PostgreSQL' installed

laama1 commented 1 year ago

When using ubuntu, you could install providers using: apt install --install-suggests sequeler or install these:

libgda-5.0-bin libgda-5.0-mysql libgda-5.0-postgres

macidev commented 1 year ago

Hey, same issue here with Fedora 38 and libgda installed. Is there any chance for debugging this? What can I provide?

ilkka commented 1 year ago

When using ubuntu, you could install providers using: apt install --install-suggests sequeler

Looks like sequeler in 23.04 does not suggest any packages.

qustavo commented 7 months ago

@pcace fixe by installing libgda5-postgres. See https://github.com/Alecaddd/sequeler/issues/378#issuecomment-1200455174

musicinmybrain commented 3 months ago

This was just reported downstream in Fedora. In Fedora 37, libgda was updated from 5.x to 6.x, and a new libgda5 compat package was introduced. The build dependency, of the form pkgconfig(libgda-5.0), still finds the correct library (see: https://github.com/Alecaddd/sequeler/issues/376), but the weak dependencies on the supported backends have been broken in Fedora 37 and later since they now install GDA 6.x providers instead of GDA 5.x providers. I have issued updates for all releases to correct this:

The Rawhide update will appear in the next successful compose; the others will be in updates-testing for about a week before appearing in the stable updates repositories. If Fedora users have any further issues with backends/providers, please feel free to comment in https://bugzilla.redhat.com/show_bug.cgi?id=2295154.

In general, please feel free to file downstream issues at https://bugzilla.redhat.com/ for anything you suspect could be Fedora-specific. These are helpful because I don’t closely monitor the issues on this GitHub project.