PostgreSQL Maestro online Help
| Prev |
Return to chapter overview | Next |
Setting connection properties
The first wizard step allows you to specify the database connection properties that will be used on further connections.
PostgreSQL Maestro allows you to connect to PostgreSQL servers directly or via Secure SHell (SSH) tunnel.
| • | Direct connection is the most preferable connection mode. |
| • | If your PostgreSQL server does not allow direct connections from remote workstations, you can establish connection to intermediate SSH server and forward all PostgreSQL commands through the Secure SHell (SSH) tunnel. |
| • | HTTP tunneling is a technique used in conditions of restricted network connectivity including firewalled networks, networks behind proxy servers, and NATs. It is the slowest way and is recommended to use if the others are impossible. |

Irrespectively of a connection mode you should specify common credentials as follows:
Host
The host name of the PostgreSQL server.
Port number
The TCP/IP port to use if server is not localhost.
User name
The username used to connect to PostgreSQL.
Password
The password for the user account on server.
To establish connection to intermediate SSH server and forward all PostgreSQL commands through the secure tunnel, you need to:
Host name Specify the host name or IP of your site.
Port number Set the SSH server port number. Enter valid User name and Password to log in to the remote server.
Note: PostgreSQL host name always should be set relatively to the SSH server. For example, if both of PostgreSQL and SSH servers are located on the same computer, you should specify localhost as Host name instead of server's external host name or IP address.
|
To connect to a remote server using a PHP script, you need to:
Note: You are actually connecting to your database through the PHP script on the server, so in most cases the host/server name is "localhost" unless the target server is not installed on the same server as the Web server. |
Check the Create a single profile option to set the database name manually and create a single profile for this database.
Hide already registered databases
Check the box to shorten the databases list on the next wizard step.





