title: Liquibase Windows MySQL - Cannot find database driver: com.mysql.cj.jdbc.Driver
body: <p>I am running the following command in Powershell with a view to get it on CircleCI but am seeing the error: <strong>Cannot find database driver: com.mysql.cj.jdbc.Driver</strong></p>
  <p>./liquibase.bat <code>--driver=com.mysql.cj.jdbc.Driver</code>
  --classpath=E:\Software\liquibase-3.10.2\lib\mysql-connector-java-5.1.48.jar <code>--url=&quot;jdbc:mysql://REDACTED:3306/sandbox&quot;</code>
  --changeLogFile=/db.changelog-1.0.mysql.sql <code>--username=REDACTED</code>
  --password=REDACTED `
  generateChangeLog</p>
  <p>I have checked the classpath of the mysql-connector file being correct / ran a file exists and is True</p>
  <pre><code>[System.IO.File]::Exists('E:\Software\liquibase-3.10.2\lib\mysql-connector-java-5.1.48.jar')
  </code></pre>
  <p>The PATH variable has the Liquibase root folder after checking the output of</p>
  <pre><code>$env:PATH
  </code></pre>
  <p>Any pointers would be greatly appreciated</p>
  <p>Thanks</p>