While trying to learn about aws services, I'm trying to connect to RDS instance from my ec2 instance using certificate.
I'm using this command to connect -
mysql -h <aws-account>.rdsinstance.<region>.rds.amazonaws.com --ssl-ca=rds-ca-2019-root.pem --ssl-mode=VERIFY_IDENTITY
But i get this error - mysql: unknown variable 'ssl-mode=VERIFY_IDENTITY'
I'm able to connect without certificate using this command: mysql -h .rdsinstance..rds.amazonaws.com -P 3306 -u admin -p
Has anyone seen this before? I searched around but couldn't find anything that would help me.
If you have any suggestions/solutions please let me know
MyMysql version: mysql --version mysql Ver 15.1 Distrib 5.5.68-MariaDB, for Linux (x86_64) using readline 5.1