Charm: phpmyadmin
Summary
MySQL Web Administration Tool
Maintainer
Marco Ceppi
Series
precise
Description
This charm allows administering of MySQL with a web interface.
Links
Repository   Bugs
lp:~charmers/charms/precise/phpmyadmin/trunk
Interfaces
Provides
Requires
Config
blowfish string
del-user string
add-user string
use-upstream string
control-database string
password string
Details
Readme
# Introduction

The phpMyAdmin charm can handle 1 to n MySQL services deployed via Juju.  The
following is what will be needed to get started with just one relation this
assumes you've downloaded the MySQL charm as well as this charm.

Here's a video: http://www.youtube.com/embed/SXsiffMI5Uc?hd=1

    juju deploy mysql 
    juju deploy phpmyadmin 
    juju add-relation phpmyadmin mysql

Replace the default password with your actually password

    juju set phpmyadmin password="password" 
    juju expose phpmyadmin

You can then access phpmyadmin via the web url, remember to substitute in the actual IP according to your cloud provider, and don't forget the /myphpadmin at the end:

    http://unit-address/phpmyadmin

# Configuration Options

The default user is juju-admin; however, that can be changed (or new users
added), by passing a value for add-user:

    juju set phpmyadmin add-user="jorge" juju set phpmyadmin del-user="jorge" 

This charm comes with the ability to switch between upstream or what comes in
the Ubuntu Archive Repositories. By default the version from the Repos will be
installed. At anytime you can set use-upstream to be true

    juju set phpmyadmin use-upstream=true

At anytime you can switch back by setting this to false.

    juju set phpmyadmin use-upstream=false

During the switches your configuration files will remain intact.
Changes  
2012/05/23 Marco Ceppi Added maintainer and website relation (revno 39)
2012/04/03 Marco Ceppi Jorge O. Castro 2012-04-03 Update README (revno 38)
2011/12/23 Marco Ceppi Added more instructions in readme (revno 37)
2011/12/22 Marco Ceppi Fixed everything else I broke when I implemented changes (revno 36)
2011/12/22 Marco Ceppi Use the right hook name (revno 35)
2011/12/22 Marco Ceppi Added check for failed install during upgrade (revno 34)
2011/12/22 Marco Ceppi Added upgrade hook (revno 33)
2011/12/22 Marco Ceppi Removed env folder (revno 32)
2011/12/22 Marco Ceppi Moved env into common.sh, added documentation (revno 31)