GBase 8a在使用客户端登录时,如果不指定用户名,则自动从操作系统选择。在某些版本存在读取不到登录用户名的情况,则会报这个错误。ERROR 1251 (08004): Client does not support authentication protocol requested by server; consider upgrading GBase client
目录导航
现象

原因
gncli没有找到默认的用户,报错。而且发现只有在远程 ssh用gbase用户时,才有这个情况。

用root远程ssh,再切换到gbase,则没有这个问题。

解决
指定-u参数

远程时用root用户
如分析的图
