hello
I have a problem to solve, how can I solve it I’m trying to work with mysql, please someone help me?
/Library/Java/JavaVirtualMachines/microsoft-11.jdk/Contents/Home/bin/java liquibase.integration.commandline.Main --driver com.mysql.cj.jdbc.Driver --changeLogFile com/company/appbackend/liquibase/changelog.xml --url jdbc:mysql://localhost:3306/fzsbackend?useSSL=false&serverTimezone=UTC&useLegacyDatetimeCode=false --username root --password 12345678 --logLevel INFO update
[2023-07-01 12:55:41] INFO [liquibase.integration] No Liquibase Pro license key supplied. Please set liquibaseProLicenseKey on command line or in liquibase.properties to use Liquibase Pro features.
Liquibase Community 4.11.0 by Liquibase
####################################################
_ _ _ _
| | () () |
| | _ __ _ _ _ | |_ __ _ ___ ___
| | | |/ _ | | | | | '_ \ / _
/ __|/ _ \
| || | (| | || | | |) | (| _ \ __/
***/|, |_,||.**/ _,*|** /__|
| |
|_|
Get documentation at docs.liquibase.com
Get certified courses at learn.liquibase.com
Free schema change activity reports at
https://hub.liquibase.com
####################################################
Starting Liquibase at 12:55:41 (version 4.11.0 #2708 built at 2022-05-23 15:17+0000)
Unexpected error running Liquibase: java.lang.RuntimeException: Cannot find database driver: com.mysql.cj.jdbc.Driver
For more information, please use the --logLevel flag
[2023-07-01 12:55:41] SEVERE [liquibase.integration] Unexpected error running Liquibase: java.lang.RuntimeException: Cannot find database driver: com.mysql.cj.jdbc.Driver
liquibase.exception.DatabaseException: liquibase.exception.DatabaseException: java.lang.RuntimeException: Cannot find database driver: com.mysql.cj.jdbc.Driver
at liquibase.integration.commandline.CommandLineUtils.createDatabaseObject(CommandLineUtils.java:138)
at liquibase.integration.commandline.Main.doMigration(Main.java:1516)
at liquibase.integration.commandline.Main$1.lambda$run$0(Main.java:398)
at liquibase.Scope.lambda$child$0(Scope.java:180)
at liquibase.Scope.child(Scope.java:189)
at liquibase.Scope.child(Scope.java:179)
at liquibase.Scope.child(Scope.java:158)
at liquibase.integration.commandline.Main$1.run(Main.java:397)
at liquibase.integration.commandline.Main$1.run(Main.java:221)
at liquibase.Scope.child(Scope.java:189)
at liquibase.Scope.child(Scope.java:165)
at liquibase.integration.commandline.Main.run(Main.java:221)
at liquibase.integration.commandline.Main.main(Main.java:164)
Caused by: liquibase.exception.DatabaseException: java.lang.RuntimeException: Cannot find database driver: com.mysql.cj.jdbc.Driver
at liquibase.database.DatabaseFactory.openConnection(DatabaseFactory.java:217)
at liquibase.database.DatabaseFactory.openConnection(DatabaseFactory.java:176)
at liquibase.database.DatabaseFactory.openDatabase(DatabaseFactory.java:141)
at liquibase.integration.commandline.CommandLineUtils.createDatabaseObject(CommandLineUtils.java:92)
… 12 more
Caused by: java.lang.RuntimeException: Cannot find database driver: com.mysql.cj.jdbc.Driver
at liquibase.database.DatabaseFactory.loadDriver(DatabaseFactory.java:272)
at liquibase.database.DatabaseFactory.openConnection(DatabaseFactory.java:20