[root@MGR-node2 ~]# mysql -p"i2:eWfx4AaM0"
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
在my.cnf添加client
[client]
port=3306
socket=/var/lib/mysql/mysql.sock