![]()
Open the unzipped folder named mysql-connector-java-8.0.13(version as on today’s date) and copy the executable jar file named mysql-connector-java-8.0.13.ģ. NETEZZA JDBC DRIVER JAR FILE DOWNLOAD DRIVERDownload the mysql jdbc driver and unzip it (If you have not).Ģ. So, while running the compiled java file, jre is not able to find the mysql jdbc driver.ġ. The error is due to the reason that although you have downloaded mysql jdbc driver from here(), if you have ,and unzipped it, you have not placed the executable jar file contained in the driver in its right place. : No suitable driver found for jdbc:mysql://localhost:3306/ebookshop?useSSL=falseĪt (DriverManager.java:689)Īt (DriverManager.java:247)Īt JdbcSelectTest.main(JdbcSelectTest.java:10) I would recommend using this and not jdk 11(latest till the date this is being written) because jdk 9 onwards do not include jre explicitly(Read more here: ). I am using jdk version 1.8 also known as java se 8. Here’s a complete working solution to tackle the problem once and for all. After a gruesome 10 hrs, I was able to run my program. Finally, I myself was experimenting with every possibility taking some assistance from different websites such as this one, stack overflow, etc. I was also getting the same error but could not find a single working solution and wasted my whole day after it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |