MantisBT - Hall D Offline
View Issue Details
0000289Hall D OfflineGeneralpublic2012-09-27 11:472012-11-16 19:11
romanov 
romanov 
lowminorhave not tried
resolvedfixed 
0000289: Make ccdb script to ask database password
CCDB is using connection string for MySQL as:
mysql://<username>:<password>@<server_address>:<port> <database>

Lets say you would like to use a password for MySQL connection on a public server.

1. ccdb script searches the connection string in CCDB_CONNECTION environment variable first. Which is, certainly, not a good place to store a password.

2. Another option is to use:
ccdb -c <connection string>
This might be not a convenient way too. You always have to type in all other parts of connection string with password.

3. The good idea is to have something like:
>> export CCDB_CONNECTION="mysql://Johann@host"
>> ccdb -p
>> enter password for Johann:
So you don't have a password in connection string but tell ccdb to ask it.
No tags attached.
Issue History
2012-09-27 11:47romanovNew Issue
2012-09-27 11:47romanovStatusnew => assigned
2012-09-27 11:47romanovAssigned To => romanov
2012-11-16 19:09romanovNote Added: 0000448
2012-11-16 19:09romanovStatusassigned => closed
2012-11-16 19:09romanovResolutionopen => fixed
2012-11-16 19:11romanovNote Added: 0000449
2012-11-16 19:11romanovStatusclosed => feedback
2012-11-16 19:11romanovResolutionfixed => reopened
2012-11-16 19:11romanovStatusfeedback => resolved
2012-11-16 19:11romanovResolutionreopened => fixed

Notes
(0000448)
romanov   
2012-11-16 19:09   
Feature added in trunk commit 1131. Will appear in tag 0.6
(0000449)
romanov   
2012-11-16 19:11   
Try to change status to resolved from closed