I am trying to write a program to connect to a MySQL database in eclipse, but I get the error \"java.sql.SQLException: No suitable driver found\".
The java
I had the same problem. I solved it by adding:
Class.forName("com.mysql.jdbc.Driver");