The connection dialog is explained here.
If the database is running in the cloud (AWS, Azure, Google, etc. ) choose 'Manually Edit JDBC URL' and copy the JDBC URL from the cloud console.
You can connect to Postgres using the user 'postgres'. The default port is 5432. If you connect from a remote computer you have to enable the access from remote computers.
Check the following if you cannot connect to the database:
On Postgres server there is a file called pg_hba.conf. On Windows it is located in the installation folder /data, on linux in /var/lib/pgsql/data/. Edit the pg_hba.conf file and append the following configuration line, replacing 10.10.29.0 with your client machine IP :
host all all 10.10.29.0/24 trustMore simple, you can allow all hosts to connect by adding this line:
host all all 0.0.0.0/0 md5
Then restart the server. For this you may use the command below (replace the path to data folder).
pg_ctl.exe -D <path_to_data_folder> restart
To enable listening for all hosts, edit the file postgresql.conf ( on Windows located in Postgres installation folder /data, on linux in /var/lib/pgsql/data/ ), find configuration line that read as follows: listen_addresses='localhost'. Change it to listen_addresses='*' Eventually you can change this to your IP address. For example listen_addresses='202.54.1.3'
Search on google for 'postgresql enable remote access' to find further documentation.
ALTER USER <someUser> PASSWORD '<newPassword>';
openssl x509 -outform der -in <mypemcertificate>.pem -out <newdercert>.der keytool -import -alias <anyname> -keystore <newcertfilename> -file <newdercert>.der # Keytool may ask for a password to generate the newcert. The new certificate will be available in c:\backupEdit the DbSchema.vmoptions (located in the same folder as DbSchema.exe or ./DbSchema.app/Contents/vmoptions.txt on Mac OS) and add this parameters:
-Djavax.net.ssl.trustStore=<Full Path of the newcertfilename that you generated> -Djavax.net.ssl.trustStorePassword=<The password you provided to create the netcertfilename> -Djavax.net.debug=sslIn the connection dialog choose 'Use SSL':
Start the setup...
Choose the Data Directory:
Choose your password:
Select the port number or leave it default (5432):