Idea how to import mysql-jar package

  1. Create a folder first
    Insert picture description here

  2. Named lib
    Insert picture description here

  3. Copy the jar package to the lib file directory
    Insert picture description here

  4. Click open module settings
    Insert picture description here

  5. Follow the steps to click jars or directiories
    Insert picture description here

  6. Select the lib folder in the project and click ok
    Insert picture description here

  7. Finally click apply to apply
    Insert picture description here

Guess you like

Origin blog.csdn.net/starry1441/article/details/115026300