~jorge/charms/precise/lamp/readme-fixes

« back to all changes in this revision

Viewing changes to hooks/db-admin-relation-changed

  • Committer: Victor Palau
  • Date: 2012-09-04 18:31:25 UTC
  • Revision ID: vtuson@gmail.com-20120904183125-erhekfwi0ldadcyf
added option to set up a bzr branch for website installation

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
juju-log "Building $database database on $host"
33
33
 
34
34
mysqladmin -h $host -u $user --password=$password create "$database"
35
 
#mysql -h $host -u $user --password=$password $database < $CREATE_SQL_FILE
 
35
mysql -h $host -u $user --password=$password $database < ./config/mysql_conf
36
36
 
37
37
 
38
38
cp ./config/* /var/webconfig