Connecting to local instance of PostgreSql with JDBC
问题 I have a running local instance of PostgreSql on a linux machine. When I use psql command from the shell I success to log in without any problem. I need to connect to the PostgreSql via the JDBC, but I don't know what exactly should I pass as url parameter to DriverManager.getConnection() . It should start with jdbc:postgresql: but what's going next? I was told by the system group that a database with was created like user name. e.g. if my user is jutky a db named jutky was created, but when