简体   繁体   中英

How to add a postgresql jdbc driver to intellij?

I'm trying to add a driver, and this page tells me to open View | Tool Windows | Database View | Tool Windows | Database View | Tool Windows | Database https://www.jetbrains.com/help/idea/managing-data-sources.html

But there is no such tool window. See picture

在此处输入图片说明

I tried Alt-3 since that option is missing in the menu, but nothing happens.

How do I add the postgresql driver from Intellij? I already have the mysql driver.

IntelliJ version: IntelliJ IDA 2020.2.1 Community edition

As you can see here , the Community edition does not include the database tool.

You'll need the Ultimate edition for that.

Then, if you want to just add the library to your project, you can select the project root in IntelliJ, hit F4. Go to Project settings ==> Libraries

Hit the + icon and choose Java.

Then, browse to your driver jar file and select it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM