Hi All,
When I am trying to connect AWS MySql database it's showing error
MySqlConnector.MySqlException: 'Connect Timeout expired.'
Inner Exception
MySqlException: Unable to connect to any of the specified MySQL hosts.
My connection string : "Server=xxxxx-xxxxx.xxxxxx.us-east-2.rds.amazonaws.com;Port=3306;Database=MyDatabase;User=root;Password=******;default command timeout=0;"
Can any one help?
Amit MohantyPosted Nov 15, 2022, 10:07 AM
Ask your server administrator to allow your system IP from where you run the application. After that I think it will work.
Deepak MPosted Nov 15, 2022, 12:24 PM
Thank you.