~mark-mims/+junk/ensemble-mysql

Viewing all changes in revision 56.

  • Committer: Adam Gandelman
  • Date: 2011-07-20 20:54:56 UTC
  • mfrom: (54.1.7 trunk)
  • Revision ID: adamg@canonical.com-20110720205456-ugcy01in2ww0o9ri
Provide shared-db functionality to allow multiple peers to use the same
database.

At join, peer requests access to $DATABASE for $USERNAME@$REMOTE_IP. If
$DATABASE does not exist, it is created. If grant for $USERNAME@$REMOTE_IP on
$DATABASE.* does not exist, it is created with a random password. The peer
receives the password and the IP of the mysql server.

TODO: Cleanup grants for peers that have left the relation

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: