Home > No Suitable > No Suitable Driver Mysql Tomcat

No Suitable Driver Mysql Tomcat


Contributing to the MariaDB Project Reporting Bugs Contributing Code Where to Find Other MariaDB Users and Developers Google Summer of Code Suggested Development Open Jobs Becoming a MariaDB Captain MariaDB License Distance or length specification (or limit) of Arduino IO devices How to respond to someone when they ask how much you earn? Kies je taal. The problem was with the DBtype as mentioned by Mark. useful reference

So, make sure you have both JDK 6 and a JDBC 4.0 compliant driver to leverage the auto-loading feature of JDBC 4.0 specification. Why didn't Harry Potter play as the king? If you use a driver which is not JDBC 4.0 compliant then you also need to call the Class.forName("com.mysql.jdbc.Driver") method to load and register the driver. share|improve this answer answered Dec 3 '13 at 17:51 Susie 2,84543264 1 Not really a good advice especially if you have multiple applications using different driver versions –Alfishe Jul 2

No Suitable Driver Found For Jdbc Mysql Localhost 3306 Test

Your program like below will compile fine but as soon as you will run it you will get the error "java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/test" because of the JDBC because JDBC will automatically load and register the driver, provided you have mysql-connector-java-5.1.36.jar file in your classpath. . Lowercase db2 worked. Mario Kart Scoring w/ Ties Did opposition fundraising stop neonazis marching?

more stack exchange communities company blog Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and Set to -1 to wait indefinitely. -->