Re: Can't Connect



Matias Mutchinick wrote:

> Hi,
> When ever I try to start a connection using gdafe, I get this error message.
>
> -------------------------------------------------------
> gda-connection.c: 89: gda_connection_real_open called
> Cannot open factory
> --------------------------------------------------------
>
> I am trying to connect using the mysql and postgres providers.
> gda-mysql and gda-postgresql.
>
> I installed gnome-db in /opt/gnome-db/ could this be the problem?
>

It shouldn't as long as the gnome_db.gnorba file is copied to the correct
location.

>
> here is what my gdalib looks like.
> ------------------------------------------
> [postest]
> Provider=gda-postgres
> DSN=DATABASE=matias;HOST=localhost
> Description=
> Configurator=
>
> [mysqltest]
> Provider=gda-mysql
> DSN=DATABASE=test1
> Description=
> Configurator=
> ---------------------------------------------
>
> I can start the connection dialog and select a provider, but when I click OK
> it's when I get that error message.
>

This is because the GNORBA library (GNOME CORBA Object Activation lib) cannot
find the gnome_db.gnorba file. Check where it is, and where are the other
.gnorba files (/etc/CORBA/servers or /usr/etc/CORBA/servers, depending on your
GNOME installation). But this should have gone to the correct location after
'make install'. What version of gnome-db are you trying to compile?

Cheers



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]