RE: connet with script, without user/password
"Heinrich, Tilo" <[email protected]> Mon, 13 Aug 2007 15:08:47 +0200
| Newsgroups | gmane.comp.db.maxdb |
|---|---|
| Message-ID | <[email protected]> |
Hello Joerg, As far as we know (the perl guru is currently on vacation) xuser keys = can not be handled by the perl-modul. Best regards, Tilo Heinrich Senior Developer MaxDB&liveCache SAP AG http://www.sap.com Sitz der Gesellschaft/Registered Office: Walldorf, Germany Vorstand/SAP Executive Board: Henning Kagermann (Sprecher/CEO), Shai = Agassi, L=E9o Apotheker, Werner Brandt, Claus Heinrich, Gerhard Oswald, = Peter Zencke Vorsitzender des Aufsichtsrats/Chairperson of the SAP Supervisory Board: = Hasso Plattner Registergericht/Commercial Register Mannheim No HRB 350269 Diese E-Mail kann Betriebs- oder Gesch=E4ftsgeheimnisse oder sonstige = vertrauliche Informationen enthalten. Sollten Sie diese E-Mail = irrt=FCmlich erhalten haben, ist Ihnen eine Kenntnisnahme des Inhalts, = eine Vervielf=E4ltigung oder Weitergabe der E-Mail ausdr=FCcklich = untersagt. Bitte benachrichtigen Sie uns und vernichten Sie die = empfangene E-Mail. Vielen Dank. This e-mail may contain trade secrets or privileged, undisclosed, or = otherwise confidential information. If you have received this e-mail in = error, you are hereby notified that any review, copying, or distribution = of it is strictly prohibited. Please inform us immediately and destroy = the original transmittal. Thank you for your cooperation. -----Original Message----- From: [email protected] [mailto:[email protected]]=20 Sent: Montag, 13. August 2007 07:55 To: [email protected]; [email protected]; = [email protected] Subject: AW: connet with script, without user/password Thanks Christian, does anybody know if i can use the perl-modul for maxdb with Xuser? Mit freundlichen Gr=FC=DFen - Best regards -----Urspr=FCngliche Nachricht----- Von: JUNG, Christian [mailto:[email protected]]=20 Gesendet: Freitag, 10. August 2007 08:21 An: 'Henrik Hempelmann'; maxdb mailingliste Betreff: RE: connet with script, without user/password Hi, another solution would be to use the xuser-file. This is quite = comfortable. You can store user-credentials along with connection options in the xuser-file. See MaxDB -> Tools -> Utilities -> XUSER <http://dev.mysql.com/doc/maxdb/en/28/873e4045796913e10000000a1550b0/cont= ent .htm> The dbmcli call would be: dbmcli -U <XUSER-KEY> -uUTL -c "util_execute suspend logwriter" (-uUTL is used to create a utility connection directly) Bye Chris > > dbmcli -d <database_name> -u <dbm_user>,<password> > > util_connect <dbm_user>,<password> > > util_execute suspend logwriter > -----Original Message----- > From: Henrik Hempelmann [mailto:[email protected]] > Sent: Thursday, August 09, 2007 9:52 PM > To: maxdb mailingliste > Subject: Re: connet with script, without user/password >=20 >=20 >=20 > On 09.08.2007, at 16:29, <[email protected]> wrote: >=20 > > > > Hello, > > > > i will stop the log writer with a script but i don't like store > > user and password in the script. > > > > dbmcli -d <database_name> -u <dbm_user>,<password> > > util_connect <dbm_user>,<password> > > util_execute suspend logwriter > > >=20 >=20 > Joerg, >=20 > how do your prefer to store the credentials for the database login? > Make your script public read- and executable and store the password =20 > somewhere else in a file only readable by the user allowed to stop =20 > the logwriter (btw. why?). >=20 > Henrik >=20 >=20 >=20 >=20 > --=20 > MaxDB Discussion Mailing List > For list archives: http://lists.mysql.com/maxdb > To unsubscribe: =20 > http://lists.mysql.com/[email protected] >=20 --=20 MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: = http://lists.mysql.com/[email protected] --=20 MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: = http://lists.mysql.com/[email protected] -- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/[email protected]