The append to the file does also look wrong, as it is used like this in db-relation-joined:
# Get the mysql password that was generated by the install hook password=`cat /var/lib/juju/mysql.passwd`
The append to the file does also look wrong, as it is used like this in db-relation-joined:
# Get the mysql password that was generated by the install hook juju/mysql. passwd`
password=`cat /var/lib/