I can't load the JDBC driver for MySQL

前端 未结 3 1245
萌比男神i
萌比男神i 2021-01-13 02:47

I\'ve been trying to load the JDBC MySQL connector with the following code:

import java.sql.*;

public class dbTest{
   public static void main(String[] args         


        
3条回答
  •  离开以前
    2021-01-13 03:13

    On IntelliJ this is how I solved this problem:

    File > Project Structure > Libraries > +

    Locate the jdbc connector. For me it was on C:\Users\MyName.InteliJIdea13\config\jdbc-drivers

提交回复
热议问题