Host slave 1 has ip address 192.0.2.10.Host slave 2 has ip address 203.0.113.50
Examine these commands:
Shell> mysql_config_editor print --all
[slave1]
Host = slave1.exampledomain.com
User=robert
[slave2]
Host = slave2.exampledomain.com
User=karen
Shell> mysql --login-path=slave1 --host=192.0.2.10 --user=robert -p
Enter password:
ERROR 1045 (28000) : Access denied for user 'robert'@'192.0.2.10' (using password: YES)
Why did this error occur?[1分]