cubicweb #344648 quiet db-create [open]
We need to run db-create command(s) automatically in a shell script, without any user interaction. This should work with mysql (so we should not rely on say a ~/.pgpass for db authentication). Something like : cubicweb db-create -u DBUSER -hDBHOST -pDBPASSWORD -q MYINSTANCE would be great. | |
priority | minor |
---|---|
type | enhancement |
done in | <not specified> |
load | 0.500 |
load left | 0.500 |
closed by | <not specified> |
similar entities
- cubicweb #2231960 [cwctl] On-the-fly generation of pgpass file when doing postgres operations
- cubicweb #530660 Automatic creation of registry path in user/dev mode
- cubicweb #687194 cubicweb-ctl exlog : fix help message
- cubicweb #344517 use a different login with reset-admin-pwd
- cubicweb #343611 db-create should validate user input
[see all]
Comments
-
2009/07/22 08:50
add commentIMO, if we find the required information in a configuration file (/etc/cubicweb.d/<instance>/), we should not prompt for user input except if option has been set for that (--prompt ?).