MantisBT - Hall D Offline | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000289 | Hall D Offline | General | public | 2012-09-27 11:47 | 2012-11-16 19:11 |
Reporter | romanov | ||||
Assigned To | romanov | ||||
Priority | low | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Platform | OS | OS Version | |||
Summary | 0000289: Make ccdb script to ask database password | ||||
Description | 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. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-09-27 11:47 | romanov | New Issue | |||
2012-09-27 11:47 | romanov | Status | new => assigned | ||
2012-09-27 11:47 | romanov | Assigned To | => romanov | ||
2012-11-16 19:09 | romanov | Note Added: 0000448 | |||
2012-11-16 19:09 | romanov | Status | assigned => closed | ||
2012-11-16 19:09 | romanov | Resolution | open => fixed | ||
2012-11-16 19:11 | romanov | Note Added: 0000449 | |||
2012-11-16 19:11 | romanov | Status | closed => feedback | ||
2012-11-16 19:11 | romanov | Resolution | fixed => reopened | ||
2012-11-16 19:11 | romanov | Status | feedback => resolved | ||
2012-11-16 19:11 | romanov | Resolution | reopened => fixed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|