Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

AW: connet with script, without user/password

From: <Joerg.Wenzel(at)t-systems.com>
Date: Mon Aug 13 2007 - 01:54:50 EDT


Thanks Christian,

does anybody know if i can use the perl-modul for maxdb with Xuser?

Mit freundlichen Grüßen - Best regards

-----Ursprüngliche Nachricht-----
Von: JUNG, Christian [mailto:christian.jung@saarstahl.com] 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/content .htm>

Do you need help?X

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:henrik@hempelmann.com]
> Sent: Thursday, August 09, 2007 9:52 PM
> To: maxdb mailingliste
> Subject: Re: connet with script, without user/password
>
>
>
> On 09.08.2007, at 16:29, <Joerg.Wenzel@t-systems.com> wrote:
>
> >
> > 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
> >
>
>
> Joerg,
>
> how do your prefer to store the credentials for the database login?
> Make your script public read- and executable and store the password
> somewhere else in a file only readable by the user allowed to stop
> the logwriter (btw. why?).
>
> Henrik
>
>
>
>
> --
> MaxDB Discussion Mailing List
> For list archives: http://lists.mysql.com/maxdb
> To unsubscribe:
> http://lists.mysql.com/maxdb?unsub=christian.jung@saarstahl.de
>

-- 
MaxDB Discussion Mailing List
For list archives: 
http://lists.mysql.com/maxdb
To unsubscribe:    
http://lists.mysql.com/maxdb?unsub=joerg.wenzel@t-systems.com


-- 
MaxDB Discussion Mailing List
For list archives: 
http://lists.mysql.com/maxdb
To unsubscribe:    
http://lists.mysql.com/maxdb?unsub=lists@pantek.com
Received on Mon Aug 13 01:55:21 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 10:14:32 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library