用redis的client链接一下server,命令如下:
/export/servers/app/redis-5.0.3/src/redis-cli -h 10.221.42.88 -p 6379 -a ^Y&U8i7p
[1] 29824
-bash: U8i7p: command not found
rning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
▽
[1]+ Stopped /export/servers/app/redis-5.0.3/src/redis-cli -h 10.221.42.88 -p 6379 -a ^Y
直接报错断开链接,原因是 密码(^Y&U8i7p)中有“&” 符,密码被截断了,故修改一下密码,不包含“&”的即可。