Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I tried to follow the steps mentioned in mysql charm:

$ juju ssh <unit> mysql -u root -p
enter root password:

/var/lib/juju/mysql.passwd

But after installing mysql charm, /var/lib/juju/mysql.passwd file was not there. Kindly help locating mysql root password.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

It appears that the mysql.passwd file was moved to /var/lib/mysql/mysql.passwd but the README was not updated. I've submitted a patch to the charm to update the README. However, you should be able to juju ssh mysql/0 and cat /var/lib/mysql/mysql.passwd to get the current MySQL root password.

share|improve this answer
    
Thank you Marco... –  user207463 Oct 25 '13 at 16:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.