Use JDBC/Mysql Connector in intellij idea

前端 未结 4 436
没有蜡笔的小新
没有蜡笔的小新 2020-12-29 09:17

I\'m new in Java, and I need to establish a connection to a MySQL server (local), I have add the libraries in Intellij idea but it seems not work, the IDE can\'t find the cl

4条回答
  •  情歌与酒
    2020-12-29 09:45

    It's easy to configure first just open the InteliJ IDE and follow this simple step

    File->Project Structure->Libraries
    

    Then Click on the plus(+) sign and select From Meven....

    After you'll get a search box there you should put

    mysql:mysql-connector-java:5.1.40

    This will solve the issue

提交回复
热议问题