Re: connet with script, without user/password

Henrik Hempelmann <[email protected]> Thu, 9 Aug 2007 21:51:30 +0200
Newsgroups gmane.comp.db.maxdb
Message-ID <[email protected]>
On 09.08.2007, at 16:29, <[email protected]> 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/[email protected]