[root@server01 ~]# mysql --comments -u ‘ev9D8VBAEK1RU2Z.root’ -h gateway01.us-east-1.prod.aws.tidbcloud.com -P 4000 -D ‘test’ --ssl-verify-server-cert --ssl-ca=/etc/pki/tls/certs/ca-bundle.crt -p’XGl0SrXhoZMcZmkd’
ERROR 2026 (HY000): SSL connection error: SSL certificate validation failure
[root@server01 ~]# ll /etc/pki/tls/certs/ca-bundle.crt
lrwxrwxrwx. 1 root root 49 Apr 1 10:21 /etc/pki/tls/certs/ca-bundle.crt → /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
请问这是什么问题?客户端使用的是mariadb
[root@server01 ~]# yum install mysql
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
base | 3.6 kB 00:00:00
Package 1:mariadb-5.5.68-1.el7.x86_64 already installed and latest version
Nothing to do