Hi, I haven’t touched this for a long time, but I think your problem is not giving mysqlfailover the correct credentials.
The command I used in the article was
mysqlfailover \
--force \
--master=root:root@172.18.0.2:3306 \
--discover-slaves-login=root:root \
auto
And you could see that I was login as root
with password root
for both master and slaves.
The error you got is saying that you were trying to login as user user
with no password, which basically means that your command may not correct.