Print

Print


How about simply keeping the credentials in ~/.my.cnf
file (I think it'd be useful to can come up with
lsst-specific name for the file to avoid collisions.)
I just realized mysql api allows to directly use such
config file:

db=_mysql.connect(host="outhouse",db="thangs",read_default_file="~/.my.cnf")

(this is from http://mysql-python.sourceforge.net/MySQLdb.html)

It is handy and mysql-compatible.

Jacek



On 01/06/2014 10:28 AM, Jacek Becla wrote:
> I'd not keep credentials in Zookeeper.
>
> Let's discuss at the next meeting on Thursday.
>
>
> Jacek
>
>
>>> - install zookeeper before scisql, and fill zookeeper with bootstrap
>>> informations (like MySQL credentials, and datadir) during its own
>>> installation,
>>
>>     I don't think Zookeeper is a secure location for MySQL
>> credentials, but I may be wrong.
>
>

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the QSERV-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1