After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 103540 - Mergeant's own SQL statements CONNECT and DISCONNECT
Mergeant's own SQL statements CONNECT and DISCONNECT
Status: RESOLVED INCOMPLETE
Product: mergeant
Classification: Deprecated
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: malerba
gnome-db Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-01-15 02:37 UTC by danmorg
Modified: 2006-10-05 19:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description danmorg 2003-01-15 02:37:10 UTC
It would be nice to have Mergeant use certain commands for its own, such 
as, CONNECT and DISCONNECT.  This can come in handy for scripts.

Format for CONNECT:

  CONNECT libgdaDSN connection_string_values;

  libgdaDSN is a DSN setup for libgda

connection_string_values allows to set any missing connection parameters 
or override any connection parameters in the libgda DSN mentioned in 
libgdaDSN

Example of CONNECT:

   CONNECT SomeLibgdaDsn user=danmorg;password=fun2db;

Mergeant tries to connect to the data source via libgda, if connected 
successfully, displays a message, such as:

   Connected successfully for libgdaDSN as 1.

If connect another, it would display:

   Connected successfully for libgdaDSN as 2.

After connecting via the second connection, it would automatically 
default to using that second connection.

If you want to use the first connection again:

   USE 1;

Mergeant could list the open connections somewhere.

If you want to disconnect from the second connection, then use DISCONNECT:

   DISCONNECT 2;

You can disconnect from all connections by using ALL:

   DISCONNECT ALL;

I'm sure there are other nice commands that Mergeant could use.
Comment 1 malerba 2006-05-10 09:42:25 UTC
Mergeant accepts command line arguments which specify a DSN, username and password. Once running, you can connect to other DSN and use all the opened connections.

Is that enough?
Comment 2 André Klapper 2006-10-05 19:30:33 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information Malerba asked for.
Thanks!