Re: [gnome-db] Connection strings
- From: Soeren <stp kabelnettet dk>
- To: gnome-db-list <gnome-db-list gnome org>
- Subject: Re: [gnome-db] Connection strings
- Date: Sun, 11 Apr 2004 16:42:49 +0200
OK, thanks a lot.
btw. it looks like dsn is stored in /home/username/..something..
is there anyway to create a dsn so that it can be seen by all
users (a systemwide dsn)?
On Sat, 2004-04-10 at 12:22, Rodrigo Moya wrote:
> On Fri, 2004-04-09 at 11:56 +0200, Soeren wrote:
> > Is it correct that connection strings depend on the provider
> > I use?
> >
> yes
>
> > gda_client_open_connection has "dsn" argument, does this only
> > work with odbc based providers? I am only familiar with db
> > access in windows so I have no idea if an odbc layer even exist > > for linux?
> >
> >he DSN is the name of the GDA data source you created. Use
> gnome-database-properties to create it, it will ask you for the correct
> arguments for the connection string depending on the provider you
> select.
>
> > Are gda providers just a wrapper on drivers developed in other
> > projects?
> >
> no, they are drivers for accessing different RDBMS, or libraries (like
> ODBC)
>
> > gda_client_open_connection_from_string has "provider_id" and
> > "cnc_string". Where do I find the list of provider ids?
> >
> the providers IDs can be looked at programatically, via
> gda_config_get_provider_list. Or look at them in the
> gnome-database-properties application (part of libgnomedb)
>
> > again
> > how would I go about finding the format of a cnc_string connection
> > string?
> >
> this is entirely dependent on the provider you choose, so again, either
> do it programatically (gda_config_get_provider_list, which gets a list
> of GdaProviderInfo structs).
>
> cheers
>
> > I want to use the mono gda wrapper, but it seems undocumented.
> > Is any1 planning to provide this documentation?
> >
> >
> >
> > _______________________________________________
> > gnome-db-list mailing list
> > gnome-db-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gnome-db-list
>
> _______________________________________________
> gnome-db-list mailing list
> gnome-db-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-db-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]