File size: 11,127 Bytes
66b3b8e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199


<!DOCTYPE html>

<html lang="en" data-content_root="./">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />

    <title>Connecting To A Server &#8212; pgAdmin 4 8.6 documentation</title>
    <link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
    <link rel="stylesheet" type="text/css" href="_static/style.css?v=d36593c3" />
    
    <script src="_static/documentation_options.js?v=d4c83366"></script>
    <script src="_static/doctools.js?v=9a2dae69"></script>
    <script src="_static/sphinx_highlight.js?v=dc90522c"></script>
    
    <script src="_static/sidebar.js"></script>
    
    <link rel="index" title="Index" href="genindex.html" />
    <link rel="search" title="Search" href="search.html" />
    <link rel="next" title="Server Group Dialog" href="server_group_dialog.html" />
    <link rel="prev" title="External database for pgAdmin user settings" href="external_database.html" /> 
  </head><body>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"

             accesskey="I">index</a></li>
        <li class="right" >
          <a href="server_group_dialog.html" title="Server Group Dialog"

             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="external_database.html" title="External database for pgAdmin user settings"

             accesskey="P">previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="index.html">pgAdmin 4 8.6 documentation</a> &#187;</li>
        <li class="nav-item nav-item-this"><a href="">Connecting To A Server</a></li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body" role="main">
            
  <section id="connecting-to-a-server">
<span id="connecting"></span><h1><span class="target" id="index-0"></span>Connecting To A Server<a class="headerlink" href="#connecting-to-a-server" title="Link to this heading"></a></h1>
<p>Before you can use the pgAdmin client to manage the objects that reside on your
Postgres server, you must define a connection to the server.  You can
(optionally) use the <em>Server Group</em> dialog to create server groups to organize
the server connections within the tree control for easier management. To open
the <em>Server Group</em> dialog, right-click on the <em>Servers</em> node of the tree
control, and select <em>Server Group</em> from the <em>Create</em> menu.</p>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="server_group_dialog.html">Server Group Dialog</a></li>
</ul>
</div>
<p>Use the fields on the <em>Server</em> dialog to define the connection properties for
each new server that you wish to manage with pgAdmin.  To open the <em>Server</em>
dialog, right-click on the <em>Servers</em> node of the tree control, and select
<em>Server</em> from the <em>Register</em> menu.</p>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="server_dialog.html">Server Dialog</a><ul>
<li class="toctree-l2"><a class="reference internal" href="clear_saved_passwords.html">Clear Saved Passwords</a></li>
</ul>
</li>
</ul>
</div>
<p>Alternatively you can use the <em>Cloud Deployment</em> wizard to deploy a new
PostgreSQL instance in the cloud, and connect to it.</p>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="cloud_deployment.html">PostgreSQL Cloud Deployment</a><ul>
<li class="toctree-l2"><a class="reference internal" href="cloud_aws_rds.html">Amazon RDS Cloud Deployment</a></li>
<li class="toctree-l2"><a class="reference internal" href="cloud_edb_biganimal.html">EDB BigAnimal Cloud Deployment</a></li>
<li class="toctree-l2"><a class="reference internal" href="cloud_azure_database.html">Azure Database Cloud Deployment</a></li>
<li class="toctree-l2"><a class="reference internal" href="cloud_google_cloud_sql.html">Google Cloud SQL Deployment</a></li>
</ul>
</li>
</ul>
</div>
<p>A master password is required to secure and later unlock saved server passwords.
It is set by the user and can be disabled using config.</p>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="master_password.html">Master Password</a></li>
</ul>
</div>
<p>After defining a server connection, right-click on the server name, and select
<em>Connect to server</em> to authenticate with the server, and start using pgAdmin to
manage objects that reside on the server.</p>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="connect_to_server.html">Connect to Server</a></li>
<li class="toctree-l1"><a class="reference internal" href="connect_error.html">Connection Error</a></li>
</ul>
</div>
<p>Server definitions (and their groups) can be exported to a JSON file and
re-imported to the same or a different system to enable easy pre-configuration
of pgAdmin.</p>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="import_export_servers.html">Import/Export Servers</a><ul>
<li class="toctree-l2"><a class="reference internal" href="import_export_servers.html#using-pgadmin-4-gui">Using pgAdmin 4 GUI</a></li>
<li class="toctree-l2"><a class="reference internal" href="import_export_servers.html#using-setup-py-command-line-script">Using ‘setup.py’ command line script</a><ul>
<li class="toctree-l3"><a class="reference internal" href="import_export_servers.html#exporting-servers">Exporting Servers</a></li>
<li class="toctree-l3"><a class="reference internal" href="import_export_servers.html#importing-servers">Importing Servers</a></li>
<li class="toctree-l3"><a class="reference internal" href="import_export_servers.html#json-format">JSON format</a></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</section>


            <div class="clearer"></div>
          </div>
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
<h3><a href="index.html">Table of Contents</a></h3>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="getting_started.html">Getting Started</a></li>
<li class="toctree-l1"><a class="reference internal" href="external_database.html">External database for pgAdmin user settings</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Connecting To A Server</a><ul>
<li class="toctree-l2"><a class="reference internal" href="server_group_dialog.html">Server Group Dialog</a></li>
<li class="toctree-l2"><a class="reference internal" href="server_dialog.html">Server Dialog</a></li>
<li class="toctree-l2"><a class="reference internal" href="cloud_deployment.html">PostgreSQL Cloud Deployment</a></li>
<li class="toctree-l2"><a class="reference internal" href="master_password.html">Master Password</a></li>
<li class="toctree-l2"><a class="reference internal" href="connect_to_server.html">Connect to Server</a></li>
<li class="toctree-l2"><a class="reference internal" href="connect_error.html">Connection Error</a></li>
<li class="toctree-l2"><a class="reference internal" href="import_export_servers.html">Import/Export Servers</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="managing_cluster_objects.html">Managing Cluster Objects</a></li>
<li class="toctree-l1"><a class="reference internal" href="managing_database_objects.html">Managing Database Objects</a></li>
<li class="toctree-l1"><a class="reference internal" href="modifying_tables.html">Creating or Modifying a Table</a></li>
<li class="toctree-l1"><a class="reference internal" href="management_basics.html">Management Basics</a></li>
<li class="toctree-l1"><a class="reference internal" href="backup_and_restore.html">Backup and Restore</a></li>
<li class="toctree-l1"><a class="reference internal" href="developer_tools.html">Developer Tools</a></li>
<li class="toctree-l1"><a class="reference internal" href="processes.html">Processes</a></li>
<li class="toctree-l1"><a class="reference internal" href="pgagent.html">pgAgent</a></li>
<li class="toctree-l1"><a class="reference internal" href="contributions.html">pgAdmin Project Contributions</a></li>
<li class="toctree-l1"><a class="reference internal" href="release_notes.html">Release Notes</a></li>
<li class="toctree-l1"><a class="reference internal" href="licence.html">Licence</a></li>
</ul>

<search id="searchbox" style="display: none" role="search">
  <h3 id="searchlabel">Quick search</h3>
    <div class="searchformwrapper">
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>
    </div>
</search>
<script>document.getElementById('searchbox').style.display = "block"</script>
        </div>
<div id="sidebarbutton" title="Collapse sidebar">
<span>«</span>
</div>

      </div>
      <div class="clearer"></div>
    </div>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"

             >index</a></li>
        <li class="right" >
          <a href="server_group_dialog.html" title="Server Group Dialog"

             >next</a> |</li>
        <li class="right" >
          <a href="external_database.html" title="External database for pgAdmin user settings"

             >previous</a> |</li>
        <li class="nav-item nav-item-0"><a href="index.html">pgAdmin 4 8.6 documentation</a> &#187;</li>
        <li class="nav-item nav-item-this"><a href="">Connecting To A Server</a></li> 
      </ul>
    </div>
    <div class="footer" role="contentinfo">
        <div class="related" role="navigation" aria-label="related navigation">
          <ul>
              <li class="left" style="margin-left: 10px">&#169; Copyright (C) 2013 - 2024, The pgAdmin Development Team.</li>
            <li class="right" style="margin-right: 10px"><a href="genindex.html" title="General Index" accesskey="I">index</a></li>
            <li class="right" ><a href="server_group_dialog.html" title="Server Group Dialog" accesskey="N">next</a> |</li>
            <li class="right" ><a href="external_database.html" title="External database for pgAdmin user settings" accesskey="P">previous</a> |</li>
          </ul>
        </div>
    </div>
  </body>
</html>