# Pipeline not able to connect to MySQL Aurora Database usine useSSL=True

**URL:** <https://discuss.elastic.co/t/pipeline-not-able-to-connect-to-mysql-aurora-database-usine-usessl-true/344152>\
**Category:** Logstash\
**Created:** [September 29, 2023, 4:58pm UTC](https://discuss.elastic.co/t/pipeline-not-able-to-connect-to-mysql-aurora-database-usine-usessl-true/344152 "2023-09-29T16:58:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ritesh\_Uniyal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ritesh_uniyal/32/43678_2.png) [@Ritesh\_Uniyal](https://discuss.elastic.co/u/Ritesh_Uniyal)\
**Post date:** [September 29, 2023, 4:58pm UTC](https://discuss.elastic.co/t/pipeline-not-able-to-connect-to-mysql-aurora-database-usine-usessl-true/344152/1 "2023-09-29T16:58:11Z")

</div>

We have a pipeline that connects to db Mysql aurora. We have enabled ssl on db and its failing to connect. We have tried using both verifyServerCertificate=true&useSSL=true&requireSSL=true and useSSL=true&requireSSL=true&verifyServerCertificate=false in connection string, but did not work. Can you please advise.

input {  
jdbc  
{  
id =\> "sslid"  
jdbc\_driver\_library =\> "/Users/logstash-7.17.0/driver/mysql-connector-j-8.1.0.jar"  
jdbc\_driver\_class =\> "com.mysql.cj.jdbc.Driver"  
#VA TSF connectionString  
jdbc\_connection\_string =\> "jdbc:mysql://mysql.cluster.us-east-1.rds.amazonaws.com:3306/?useSSL=true&requireSSL=true&verifyServerCertificate=false&autoReconnect=true"  
jdbc\_user =\> "db\_user"  
jdbc\_password =\> "${db\_pwd}"  
schedule =\> '\*/1 \* \* \* \*'  
statement =\> "SELECT \* FROM db.table limit 1;"  
}  
}

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 27, 2023, 4:59pm UTC](https://discuss.elastic.co/t/pipeline-not-able-to-connect-to-mysql-aurora-database-usine-usessl-true/344152/2 "2023-10-27T16:59:04Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
