hello
i have been stuck in this problem for two days now and i don't seem to find a solution for it.
i started learning mysql to connect my program to a database but every time i try to connect i get this error.
java.sql.SQLException: No suitable driver found for dbms:mysql://localhost:3306/apexdemo
at java.sql.DriverManager.getConnection(DriverManager.java:596)
at java.sql.DriverManager.getConnection(DriverManager.java:215)
at JDBCdemo2.main(JDBCdemo2.java:7)
i did the following: - added the mysql-connector-java-5.1.34 jar to my classpath
- added mysql
jdbc driver to the project library
- double checked the url syntax and spelling errors
- checked that the server is running