How to fix "Failed to instantiate JDBC driver" Flyway command line error?
I am new to Flyway. I am using Flyway 3.2.1 on Windows 64bit and just tried the command line tool with a local installation of Oracle Database (11g). I am getting the following error:
ERROR: Unable to instantiate JDBC driver: oracle.jdbc.OracleDriver
What I did wrong? In flyway.conf I configured my jdbc url and username and password.
Thanks in advance Matze
+3
source to share
2 answers
Go to http://www.oracle.com/technetwork/database/features/jdbc/index-091264.html and select the required Oracle JDBC driver version. Then download the "ojdbc6.jar" file and move it to the folder drivers
below where Flyway is installed. The next time you start Flyway, it should be automatically brought up.
0
source to share