Thor Chen
1 min readApr 20, 2020

--

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.

--

--

Thor Chen
Thor Chen

Written by Thor Chen

Passionate JavaScript/TypeScript Developer with a Full-stack Background

Responses (1)