Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MySQL++ - Programming with the C++ API to MySQL
MaxDB - Everything about MaxDB, formerly known as SAP DB
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
Subject: mysql openssl Question
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
Update one field with more fields from another table
Subject: Getting Identity after INSERT
ERROR 2002: Can 't connect to local MySQL server through socket
mysql test 4 1 fails with the gis test
Subject: MySQL Cluster Software
Downgrade Mysql from 4 to 3 23
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Can 't access mysql after kernel upgrade
Executing MySQL Commands From Within C Program
Comparing and writing out BLOBS
Subject: Re: Preventing Duplicate Entries
FULLTEXT query format question
Strange behavior, Table Level Permission
Does the binary log enabling affect the MySQL performances?
mysql:it 's a db not a dbms how it 's possible?!
mysql have same function mthod as Oracle decode()
 
AW: connet with script, without user/password

AW: connet with script, without user/password

2007-08-13       - By Joerg.Wenzel@(protected)

 Back
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@(protected)]
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>

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@(protected)]
> 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@(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/maxdb?unsub=christian.jung@(protected)
>

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


--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/maxdb?unsub=mysql@(protected)