如图:
obclient -h10.12.0.46 -uoms_to_user@ob_t3_tenant -P2881 -p -A -c oceanbase
obclient -h10.12.0.46 -uoms_to_user@ob_t3_tenant -P2883 -p -A -c oceanbase
这两种登录方式可以成功
但加上集群标示 #seventest 后就不能登录
obclient -h10.12.0.46 -uoms_to_user@ob_t3_tenant#seventest -P2881 -p -A -c oceanbase
报错“ERROR 1045 (42000): Access denied for user ‘oms_to_user’@‘xxx.xxx.xxx.xxx’ (using password: YES)”
obclient -h10.12.0.46 -uoms_to_user@ob_t3_tenant#seventest -P2883 -p -A -c oceanbase
报错“ERROR 2014 (HY000): Commands out of sync; you can’t run this command now”
mysql -h10.12.0.46 -uoms_to_user@ob_t3_tenant#seventest -P2883 -p -A -c oceanbase
报错“ERROR 4669 (HY000): cluster not exist”
mysql -h10.12.0.46 -uoms_to_user@ob_t3_tenant#seventest -P2881 -p -A -c oceanbase
报错“ERROR 1045 (42000): Access denied for user ‘oms_to_user’@‘xxx.xxx.xxx.xxx’ (using password: YES)”