# Cannot find database driver: org.postgresql.Driver for RDS postgres connection-Liquibase

**URL:** <https://forum.liquibase.org/t/cannot-find-database-driver-org-postgresql-driver-for-rds-postgres-connection-liquibase/5863>\
**Category:** Liquibase Development\
**Created:** [September 1, 2021, 5:09pm UTC](https://forum.liquibase.org/t/cannot-find-database-driver-org-postgresql-driver-for-rds-postgres-connection-liquibase/5863 "2021-09-01T17:09:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anusha](https://avatars.discourse-cdn.com/v4/letter/a/c5a1d2/32.png) [@Anusha](https://forum.liquibase.org/u/Anusha)\
**Post date:** [September 1, 2021, 5:09pm UTC](https://forum.liquibase.org/t/cannot-find-database-driver-org-postgresql-driver-for-rds-postgres-connection-liquibase/5863/1 "2021-09-01T17:09:22Z")

</div>

I am trying to connect to RDS postgres from liquibase. Maven dependency is :

```auto
<dependency>
    <groupId>software.aws.rds</groupId>
    <artifactId>aws-postgresql-jdbc</artifactId>
    <version>0.1.0</version>
</dependency>

```

I am not using properties file as the credentials are confidential and I cannot put them in properties file. hence calling using command line

```auto
-liquibase --url:jdbc:postgressql://xxxx.rds.amazonaws.com:5432/database_name --username = $username --password = $password --changeLogFile=changelog_aurora.xml update

```

Also tried :

```auto
-liquibase --url:jdbc:postgressql://xxxx.rds.amazonaws.com:5432/database_name --username = $username --password = $password --changeLogFile=changelog_aurora.xml --driver=org.postgressql.Driver update

```

I am getting below error:

```auto
Unexpected error running liquibase: java.lang.RuntimeException:Cannot find database driver: org.postgres.Driver

```

Please help me here. Do i need to install postgres dependency as well? If so what should be the version? should it match with AWS RDS postgres?

---

<div class="post-metadata">

**Author:** ![daryldoak](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.liquibase.org/daryldoak/32/764_2.png) [@daryldoak](https://forum.liquibase.org/u/daryldoak)\
**Post date:** [September 2, 2021, 11:47am UTC](https://forum.liquibase.org/t/cannot-find-database-driver-org-postgresql-driver-for-rds-postgres-connection-liquibase/5863/2 "2021-09-02T11:47:36Z")

</div>

I’m not familiar with Liquibase execution via Maven, but do you have the Postgres jdbc driver in Liquibase’s “lib” directory?
