Cannot find database driver

Hi Team,

I am new to liquibase, i want to learn and implement it on my postgres two different environment, before that I am not installed maven, i am trying to connect my local postgresql to learn liquibase, but i am not able to connect it, it seems showing an error below error,

“Starting Liquibase at 18:37:01 (version 4.2.2 #36 built at 2020-12-09 20:07+0000)
Unexpected error running Liquibase: java.lang.RuntimeException: Cannot find database driver: org.postgresql.Driver
For more information, please use the --logLevel flag”

Kindly please let me know how to setup or let me know if i am missing anything, thanks in advacne.

Hi @Yokeswaran_G ,

Welcome to the Liquibase community! I can help you with this issue. Before answer, I would highly recommend that you take the Liquibase Fundamentals Course. It covers all the basics including how to configure db driver.

To answer your immediate concern, please check out this documentation. Basically, you need to download the Postgres db driver and set the values either on commandline or the liquibase.properties (or for maven)