How to Connect Database to IntelliJ Idea

In Ultimate edition of IntelliJ, database bundle comes with in built. But if you are using the community edition, database not comes with that. So, I will guide you that, how to connect database to intellij idea.

how to connect database to intellij idea

If you are using ultimate edition of IntelliJ, simply go to view | tool window | database and connect it . But foe ultimaate edition, you have to download a plugin named Database Navigator. You can download it by settings in Intellij by going Files | Settings | Plugins | browse repositories | Database Navigator.

Installing database navigator
Installing database navigator

Sometimes, it shown the error message, then no problem you can download Database Navigator by Jetbrain site also. In order to download it go to and download it.

Then you have to go in the same place Files | Settings | Plugins | browse repositories and click on Install plugin from disk. Select the package which you have downloaded and then click on restart intelliJ idea.

Install database navigator from disk

After restarting, go to view | tool window | db browser . In order to connect database, click on + sign and select your perferred database. In my case I prefer mySQL so, here the screenshots of connecting mySQL with intelliJ idea.


You can choose any database and connect, this is very easy.


creating database in intelli j idea


connecting mysql to intellij idea


Now you can access all the databases, which you have connected from here.


access database from intellij


That’s it, Enjoy … Happy coding…

Further you  can read …

teleconsole - share your terminal with your others

Teleconsole – Share your Terminal with Others | Port Forwarding

Teleconsole is a free command line tool for sharing terminal session with other people you trust. Your friend can join the terminal command line via SSH or their browser over HTTPS. This…


How to access Localhost from Internet using Ngrok

If you are a web developer, then you are using localhost for testing your website. But you probably want to share your website to your clients or your friends to show them….

1 comment
how to set up local server on your computer using xampp by linuxhackr

How to setup Localhost on your Computer using XAMPP

In order to test the web applications before uploading it to server, run the php file or host from your own computer you need to set up the Localhost web server on…


You May Also Like

About the Author: Linux Hackr

I love to writing Linux blogs. I'll be very happy if you say something in comment box, because it's not just comment it is my motivation. Thank you !

Leave a Reply