Intellij IDEA载入JDBC驱动,连接Mysql

首先,下载好mysql的驱动 下载地址:https://dev.mysql.com/downloads/connector/j/ 解压,我们需要.jar文件 然后,打开IDEA,File -> Project Structure -> Modules -> Dependencies -> 点击右边绿色的‘+’ 选第一个JARs of directories,找到你刚刚解压的位置,选中文件mysql
相关文章
相关标签/搜索