We are working on a project in netbeans using Java which uses mysql database to process some common queries. But I am having issues with loading jdbc drivers for mysql in netbeans. It is giving following error:
Class Not Found Exception : com.jdbc.mysql.Driver
please help me out.
You just have to add the MySQL JDBC connector to your project. It would be similar for an Oracle database, for example (you would have to add the ojdbc6.jar).
For MySQL, you have to get the MySQL JDBC connector and add it to your project’s classpath.