- 打开view -> tool window -> database
![](https://img.haomeiwen.com/i3322157/fa82489d1fcb8756.png)
- 选择想要链接的数据库类型,这里以MySQL为例
![](https://img.haomeiwen.com/i3322157/417af078b481e23b.png)
-
输入url,databse的名字,用户名以及密码
3.png
-
点击下方的test connection 可以测试是否能链接到数据库
-
现在可以在intellij中操作你的数据库了
4.png
输入url,databse的名字,用户名以及密码
点击下方的test connection 可以测试是否能链接到数据库
现在可以在intellij中操作你的数据库了
本文标题:Intellij 链接数据库
本文链接:https://www.haomeiwen.com/subject/kkjamttx.html
网友评论