~lomov-as/charms/trusty/mysql/wip

« back to all changes in this revision

Viewing changes to README.md

  • Committer: Marco Ceppi
  • Date: 2013-10-25 16:37:07 UTC
  • Revision ID: marco@ceppi.net-20131025163707-bkrgxj8cufre4a6t
Updated README

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
    juju deploy mysql
22
22
 
23
 
Once deployed, you can ssh into the deployed service and access the
24
 
MySQL console as the MySQL root user:
 
23
Once deployed, you can retrive the MySQL root user password by logging in to the machine via `juju ssh`
 
24
and readin the `/var/lib/mysql/mysql.passwd` file. To log in as root MySQL User at the MySQL console
 
25
you can issue the following:
25
26
 
26
 
    juju ssh <unit>
27
 
    mysql -u root -p
28
 
    # enter root password - /var/lib/juju/mysql.passwd
 
27
    juju ssh mysql/0
 
28
    mysql -u root -p=`cat /var/lib/mysql/mysql.passwd`
29
29
 
30
30
To change deployment to a Percona server:
31
31