IntelliJ IDEA PostgreSQL Support: Difference between revisions
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
* [[IntelliJ#Subjects|IntelliJ]] | * [[IntelliJ#Subjects|IntelliJ]] | ||
* [[Postgresql#Subjects|Postgresql]] | * [[Postgresql#Subjects|Postgresql]] | ||
=Overview= | |||
Make sure Postgres is running, see [[Postgresql_with_Docker#Lifecycle|Postgresql with Docker]]. | |||
Right edge tabs -> Database -> + -> Driver -> PostgreSQL -> make sure it's downloaded and it is new enough. | |||
Right edge tabs -> Database -> + -> Data Source -> PostgreSQL: | |||
Name: Docker Posgres | |||
Host: localhost | |||
Port: 5432 | |||
Database: postgres | |||
User: admin | |||
Password: the password you used during the container configuration phase. Select "Remember password". | |||
Test Connection. | |||
Apply -> OK. |
Revision as of 18:15, 18 October 2018
Internal
Overview
Make sure Postgres is running, see Postgresql with Docker.
Right edge tabs -> Database -> + -> Driver -> PostgreSQL -> make sure it's downloaded and it is new enough.
Right edge tabs -> Database -> + -> Data Source -> PostgreSQL:
Name: Docker Posgres
Host: localhost
Port: 5432
Database: postgres
User: admin
Password: the password you used during the container configuration phase. Select "Remember password".
Test Connection.
Apply -> OK.