Cannot find JDBC driver

后端 未结 3 884
时光说笑
时光说笑 2021-01-28 17:01
try
        {
            String userName = \"root\";
            String password = \"\";
            // is my database
            String url = \"jdbc:m         


        
相关标签:
3条回答
  • 2021-01-28 17:30

    To use the MYSQL Driver (Connector/J) you will need to download it from MySQL Connectors and put it in your classpath.

    0 讨论(0)
  • 2021-01-28 17:34

    It seems that you should put your MySQL driver jar into your classpath.

    0 讨论(0)
  • 2021-01-28 17:48

    Download the jdbc-mysql driver here.

    Include it in your classpath.

    0 讨论(0)
提交回复
热议问题