How do I create postgre SQL database on hard drive
Hi,
I'm just starting using Data Grip and I'm stuck before I started doing anything. First thing I've done was creating postgre Data Source with default parameters.

Now I opened a console, and tried to run a script:
drop table table1;
The console then prints:
"Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections."

What can I do about that, so that I could create my project in e.g.: D:\Database instead of connecting to other hosts?
Please sign in to leave a comment.
I think you have no credentials entered. What does Test Connection give you?