# Liquibase.properties file inconsistent parameter syntax?!

**URL:** <https://forum.liquibase.org/t/liquibase-properties-file-inconsistent-parameter-syntax/10572>\
**Category:** Liquibase Development\
**Created:** [July 10, 2025, 11:25am UTC](https://forum.liquibase.org/t/liquibase-properties-file-inconsistent-parameter-syntax/10572 "2025-07-10T11:25:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ekalwa](https://avatars.discourse-cdn.com/v4/letter/e/a6a055/32.png) [@ekalwa](https://forum.liquibase.org/u/ekalwa)\
**Post date:** [July 10, 2025, 11:25am UTC](https://forum.liquibase.org/t/liquibase-properties-file-inconsistent-parameter-syntax/10572/1 "2025-07-10T11:25:17Z")

</div>

I’m evaluating Liquibase OSS 4.32.0. Installed it on a RHEL8 Linux VM. Got it working against a MySQL database with the latest mysql Connector/J JDBC driver.

BUT before getting it working I hit my head against a wall with the following hurdle:

See example In the liquibase.properties file:  
When I specify liquibase.driver and liquibase.classpath parameters, I get:  
ERROR: Exception Details  
ERROR: Exception Primary Class: RuntimeException  
ERROR: Exception Primary Reason: Cannot find database driver: com.mysql.cj.jdbc.Driver  
ERROR: Exception Primary Source: 4.32.0

Unexpected error running Liquibase: Cannot find database driver: com.mysql.cj.jdbc.Driver

BUT, when I remove the “liquibase.” prefix from the driver and classpath parameters, then it works successfully. See excerpt below from my liquibase.properties file:

# NOTE: Tried embedding these two parameters for specifying the mysql jar-file driver with liquibase prefix and didnt work!..

#liquibase.driver=com.mysql.cj.jdbc.Driver  
#liquibase.classpath=/usr/share/java/mysql-connector-j.jar

# These two work WITHOUT the liquibase. prefix!!..

driver=com.mysql.cj.jdbc.Driver  
classpath=/usr/share/java/mysql-connector-j.jar

This looks like a BUG. Please advise?!

---

<div class="post-metadata">

**Author:** ![Pete](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.liquibase.org/pete/32/184_2.png) [@Pete](https://forum.liquibase.org/u/Pete)\
**Post date:** [July 10, 2025, 7:54pm UTC](https://forum.liquibase.org/t/liquibase-properties-file-inconsistent-parameter-syntax/10572/2 "2025-07-10T19:54:11Z")

</div>

Welcome to the forums @ekalwa!

> [@ekalwa](#):
>
> #liquibase.driver=com.mysql.cj.jdbc.Driver  
> #liquibase.classpath=/usr/share/java/mysql-connector-j.jar

The `#` character indicates a comment in a properties file. Did you try running it without then `#` characters preceding the `liquibase.*` configuration keys?

The reason that `driver` and `classpath` work with the `liquibase.` prefix is backwards compatibility. Those used to be the standard keys to specify those value before we made it more specific in the 4.0 release (and all releases after).

---

<div class="post-metadata">

**Author:** ![ekalwa](https://avatars.discourse-cdn.com/v4/letter/e/a6a055/32.png) [@ekalwa](https://forum.liquibase.org/u/ekalwa)\
**Post date:** [August 2, 2025, 10:49am UTC](https://forum.liquibase.org/t/liquibase-properties-file-inconsistent-parameter-syntax/10572/3 "2025-08-02T10:49:30Z")

</div>

Of course, I know the # character starts a comment line! I had to comment out those lines because the syntax doesn’t work with the “liquibase.” prefix for those two parameters!!!
