View Issue Details

IDProjectCategoryView StatusLast Update
0001227Composrcorepublic2013-06-14 21:58
ReporterChris GrahamAssigned ToChris Graham 
SeverityFeature-request 
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0001227: Better development workflow for database management
DescriptionCreate and bundle scripts for making and importing SQL dumps. _config.php is read to determine what database details to use. It is assumed whoever running the db_init.sh script knows the MySQL root password and can type it in when prompted.
Steps To ReproduceUse a standard filename (db.sql), and block reading of it in the recommended.htaccess and plain.htaccess files.

db_init.sh -- creates database using "mysql -uroot -p -e <sql>" where SQL is similar to here http://jetpackweb.com/blog/2009/07/20/bash-script-to-create-mysql-database-and-user/

db_export.sh -- runs mysqldump to db.sql.

db_import.sh -- runs mysql -u<user> -p<pass> <database> < db.sql
TagsNo tags attached.
Time estimation (hours)8
Sponsorship open

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change