Re: [gnome-db] Encrypted DB connection
- From: Daniel Espinosa <esodan gmail com>
- To: Vivien Malerba <vmalerba gmail com>
- Cc: gnome-db-list gnome org, Catarina Fernandes <catarina m fernandes gmail com>
- Subject: Re: [gnome-db] Encrypted DB connection
- Date: Wed, 15 Dec 2010 16:38:55 -0600
Is it a bug that the list given by -L doesn't show parameter type? May be is usefull, in order to help the user to determine the value to use.
2010/12/15 Vivien Malerba
<vmalerba gmail com>
On 15 December 2010 15:49, Catarina Fernandes <
catarina m fernandes gmail com> wrote:
> Hi!
>
> I'm using libgda to get some data from a postgres database.
>
> Is there a way of using an encrypted connection to the database?
You can specify the USE_SSL=TRUE in your connection string.
To know all the parameters accepted by a database provider when opening a connection, you can use the gda-sql-4.0.exe program, for example:
vivien may11:~$ gda-sql-4.0 -L PostgreSQL
Provider 'PostgreSQL' description
Attribute │ Value
───────────────┼───────────────────────────────────────────────────
Provider │ PostgreSQL
Description │ Provider for PostgreSQL databases
DSN parameters │ DB_NAME,
SEARCHPATH,
HOST,
PORT,
OPTIONS,
USE_SSL
Authentication │ USERNAME,
PASSWORD
File │ /prefix/lib/libgda-4.0/providers/libgda-postgres.so
(5 rows)
Regards,
Vivien
_______________________________________________
gnome-db-list mailing list
gnome-db-list gnome org
http://mail.gnome.org/mailman/listinfo/gnome-db-list
--
Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (en trámite, pero para los cuates: LIBRE)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]