简体   繁体   中英

Aurora serverless not connecting from CLI and mysql workbrench

I make a Aurora serverless cluster and trying to connect it from command line using command

mysql --user=mightycpa --password -h serverless.cluster-xxxxxx

but it can't connect and gives an error

ERROR 2003 (HY000): Can't connect to MySQL server 

I tried with mysql workbench also but not works. I checked VPC group and security groups and give it accessible form anywhere.

For testing I create Aurora Rds with serverless with same VPC and security groups and it connects fine.

Can we connect severless from local CLI or not? if yes then any change needed?

我们无法从ssh或使用本地机器等连接它。为此,我们需要使用Cloud9并列出那里的所有数据库

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM