Problem when changing replication user password

Dear Experts,

I am running MySQL 5.5 replication environment and I need to change the password on the replication user.  I have tried the following:

stop slave
change passwords on master and slaves
start slave

I then get an error connecting to master when I run 'show slave status'.  If I repeat the process setting the password back to the original one, then replication all starts again perfectly.  What have I missed.

As a secondary question, which order should I update versions of MySQL.  Master then slaves or the other way round?

Many thanks

Bede
emincoteAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

arnoldCommented:
You need to update the user used for replication on the master, flush privileges to make the change read in and applied.
Might you have forgoten the flush privileges?
ldvhaiCommented:
Hi emincote,

You just need change password for User replicate on Master without stop slave. Remember flush privileges after set password.

Regard,...

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
emincoteAuthor Commented:
Hi Arnold and Idvhai,  Thank you both very much.  That seems to have worked a treat and I had forgotten all about flush privileges.  Case closed and I will award as many points as possible to both of you.  Thanks again,  Bede
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
MySQL Server

From novice to tech pro — start learning today.