MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000289Hall D OfflineGeneralpublic2012-09-27 11:472012-11-16 19:11
Reporterromanov 
Assigned Toromanov 
PrioritylowSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
PlatformOSOS Version
Summary0000289: Make ccdb script to ask database password
DescriptionCCDB 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.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000448)
romanov (developer)
2012-11-16 19:09

Feature added in trunk commit 1131. Will appear in tag 0.6
(0000449)
romanov (developer)
2012-11-16 19:11

Try to change status to resolved from closed

- 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


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker