Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
connect_error.doctree75 linesDownload Raw Back to .doctrees
1��K8�sphinx.addnodes��document���)��}�(�	rawsource����children�]�(�docutils.nodes��target���)��}�(h�.. _connect_error:�h]��2attributes�}�(�ids�]��classes�]��names�]��dupnames�]��backrefs�]��refid��
connect-error�u�tagname�h3�line�K�parent�h�	_document�h�source��hD:\a\pgadmin-packaging-foundation\pgadmin-packaging-foundation\pgadmin4-8.6\docs\en_US\connect_error.rst�ubh	�section���)��}�(hhh]�(h	�title���)��}�(h�`Connection Error`:index:�h]�(h�index���)��}�(hhh]�h}�(h]�h]�h]�h]�h]��entries�]�(�single��Connection Error��index-0�hNt�auhh/h"h#hKh h+ubh)��}�(hhh]�h}�(h]�h>ah]�h]�h]�h]�uhh4h h+ubh	�Text����Connection Error�����}�(h h+h!hh"NhNubeh}�(h]�h]�h]�h]�h]�uhh)h h&h!hh"h#hKubh	�	paragraph���)��}�(hXIWhen connecting to a PostgreSQL server, you may get an error message. If you5encounter an error message, please review the message  carefully; each error6message attempts to incorporate the information you'll need to resolve the7problem.  For more details about specific errors, please locate the error8message in the list below:�h]�hJXKWhen connecting to a PostgreSQL server, you may get an error message. If you9encounter an error message, please review the message  carefully; each error10message attempts to incorporate the information you’ll need to resolve the11problem.  For more details about specific errors, please locate the error12message in the list below:�����}�(h hWh!hh"NhNubah}�(h]�h]�h]�h]�h]�uhhUh"h#hKh h&h!hubhV)��}�(h�***Connection to the server has been lost**�h]�h	�strong���)��}�(hhgh]�hJ�&Connection to the server has been lost�����}�(h hkh!hh"NhNubah}�(h]�h]�h]�h]�h]�uhhih heubah}�(h]�h]�h]�h]�h]�uhhUh"h#hK
h h&h!hubh	�image���)��}�(h�e.. image:: images/ce_timeout.png13    :alt: Connection to the server has been lost14    :align: center15�h]�h}�(h]�h]�h]�h]�h]��alt��&Connection to the server has been lost��align��center��uri��images/ce_timeout.png��16candidates�}��*�h�suhh~h"h#hKh h&h!hubhV)��}�(h��This error message indicates that the connection attempt has taken longer than17the specified threshold; there may be a problem with the connection properties18provided on the *Server* dialog, network connectivity issues, or the server may19not be running.�h]�(hJ��This error message indicates that the connection attempt has taken longer than20the specified threshold; there may be a problem with the connection properties21provided on the �����}�(h h�h!hh"NhNubh	�emphasis���)��}�(h�*Server*�h]�hJ�Server�����}�(h h�h!hh"NhNubah}�(h]�h]�h]�h]�h]�uhh�h h�ubhJ�G dialog, network connectivity issues, or the server may22not be running.�����}�(h h�h!hh"NhNubeh}�(h]�h]�h]�h]�h]�uhhUh"h#hKh h&h!hubhV)��}�(h�3**could not connect to Server: Connection refused**�h]�hj)��}�(hh�h]�hJ�/could not connect to Server: Connection refused�����}�(h h�h!hh"NhNubah}�(h]�h]�h]�h]�h]�uhhih h�ubah}�(h]�h]�h]�h]�h]�uhhUh"h#hKh h&h!hubh)��}�(h�^.. image:: images/ce_not_running.png23    :alt: Could not connect to server24    :align: center25�h]�h}�(h]�h]�h]�h]�h]��alt��Could not connect to server��align��center��uri��images/ce_not_running.png�h�}�h�h�suhh~h"h#hKh h&h!hubh	�definition_list���)��}�(hhh]�h	�definition_list_item���)��}�(h��If pgAdmin displays this message, there are two possible reasons for this:26* the database server isn't running - simply start it.27* the server isn't configured to accept TCP/IP requests on the address shown.28�h]�(h	�term���)��}�(h�JIf pgAdmin displays this message, there are two possible reasons for this:�h]�hJ�JIf pgAdmin displays this message, there are two possible reasons for this:�����}�(h h�h!hh"NhNubah}�(h]�h]�h]�h]�h]�uhh�h"h#hKh h�ubh	�29definition���)��}�(hhh]�h	�bullet_list���)��}�(hhh]�(h	�	list_item���)��}�(h�4the database server isn't running - simply start it.�h]�hV)��}�(hjh]�hJ�6the database server isn’t running - simply start it.�����}�(h jh!hh"NhNubah}�(h]�h]�h]�h]�h]�uhhUh"h#hKh jubah}�(h]�h]�h]�h]�h]�uhjh"h#hKh h�ubj)��}�(h�Lthe server isn't configured to accept TCP/IP requests on the address shown.30�h]�hV)��}�(h�Kthe server isn't configured to accept TCP/IP requests on the address shown.�h]�hJ�Mthe server isn’t configured to accept TCP/IP requests on the address shown.�����}�(h jh!hh"NhNubah}�(h]�h]�h]�h]�h]�uhhUh"h#hK h jubah}�(h]�h]�h]�h]�h]�uhjh"h#hK h h�ubeh}�(h]�h]�h]�h]�h]��bullet�h�uhh�h"h#hKh h�ubah}�(h]�h]�h]�h]�h]�uhh�h"h#hKh h�ubeh}�(h]�h]�h]�h]�h]�uhh�h"h#hKh h�ubah}�(h]�h]�h]�h]�h]�uhh�h"h#hKh h&h!hubhV)��}�(hXFor security reasons, a PostgreSQL server "out of the box" doesn't listen on31TCP/IP ports. Instead, it must be enabled to listen for TCP/IP requests. This32can be done by adding **listen_addresses='*'**; this will make the server accept33connections on any IP interface.�h]�(hJ��For security reasons, a PostgreSQL server “out of the box” doesn’t listen on34TCP/IP ports. Instead, it must be enabled to listen for TCP/IP requests. This35can be done by adding �����}�(h jLh!hh"NhNubhj)��}�(h�**listen_addresses='*'**�h]�hJ�listen_addresses=’*’�����}�(h jTh!hh"NhNubah}�(h]�h]�h]�h]�h]�uhhih jLubhJ�C; this will make the server accept36connections on any IP interface.�����}�(h jLh!hh"NhNubeh}�(h]�h]�h]�h]�h]�uhhUh"h#hK"h h&h!hubhV)��}�(h��For further information, please refer to the PostgreSQL documentation about37`runtime configuration <https://www.postgresql.org/docs/current/runtime-config.html>`_.�h]�(hJ�LFor further information, please refer to the PostgreSQL documentation about38�����}�(h jlh!hh"NhNubh	�	reference���)��}�(h�V`runtime configuration <https://www.postgresql.org/docs/current/runtime-config.html>`_�h]�hJ�runtime configuration�����}�(h jvh!hh"NhNubah}�(h]�h]�h]�h]�h]��name��runtime configuration��refuri��;https://www.postgresql.org/docs/current/runtime-config.html�uhjth jlubh)��}�(h�> <https://www.postgresql.org/docs/current/runtime-config.html>�h]�h}�(h]��runtime-configuration�ah]�h]��runtime configuration�ah]�h]��refuri�j�uhh39�40referenced�Kh jlubhJ�.�����}�(h jlh!hh"NhNubeh}�(h]�h]�h]�h]�h]�uhhUh"h#hK'h h&h!hubhV)��}�(h�**FATAL: no pg_hba.conf entry**�h]�hj)��}�(hj�h]�hJ�FATAL: no pg_hba.conf entry�����}�(h j�h!hh"NhNubah}�(h]�h]�h]�h]�h]�uhhih j�ubah}�(h]�h]�h]�h]�h]�uhhUh"h#hK*h h&h!hubh)��}�(h�U.. image:: images/ce_error_hba.png41    :alt: No pg_hba.conf entry42    :align: center43�h]�h}�(h]�h]�h]�h]�h]��alt��No pg_hba.conf entry��align��center��uri��images/ce_error_hba.png�h�}�h�j�suhh~h"h#hK,h h&h!hubhV)��}�(h��If pgAdmin displays this message when connecting, your server can be contacted44correctly over the network, but is not configured to accept your connection.45Your client has not been detected as a legal user for the database.�h]�hJ��If pgAdmin displays this message when connecting, your server can be contacted46correctly over the network, but is not configured to accept your connection.47Your client has not been detected as a legal user for the database.�����}�(h j�h!hh"NhNubah}�(h]�h]�h]�h]�h]�uhhUh"h#hK0h h&h!hubhV)��}�(h��To connect to a server, the pg_hba.conf file on the database server must be48configured to accept connections from the host of the pgAdmin client. Modify49the pg_hba.conf file on the database server host, and add an entry in the form:�h]�hJ��To connect to a server, the pg_hba.conf file on the database server must be50configured to accept connections from the host of the pgAdmin client. Modify51the pg_hba.conf file on the database server host, and add an entry in the form:�����}�(h j�h!hh"NhNubah}�(h]�h]�h]�h]�h]�uhhUh"h#hK4h h&h!hubh	�block_quote���)��}�(h��* **host template1 postgres 192.168.0.0/24 md5** for an IPV4 network52* **host template1 postgres ::ffff:192.168.0.0/120 md5** for an IPV6 network53�h]�h�)��}�(hhh]�(j)��}�(h�B**host template1 postgres 192.168.0.0/24 md5** for an IPV4 network�h]�hV)��}�(hj�h]�(hj)��}�(h�.**host template1 postgres 192.168.0.0/24 md5**�h]�hJ�*host template1 postgres 192.168.0.0/24 md5�����}�(h j�h!hh"NhNubah}�(h]�h]�h]�h]�h]�uhhih j�ubhJ� for an IPV4 network�����}�(h j�h!hh"NhNubeh}�(h]�h]�h]�h]�h]�uhhUh"h#hK8h j�ubah}�(h]�h]�h]�h]�h]�uhjh"h#hK8h j�ubj)��}�(h�K**host template1 postgres ::ffff:192.168.0.0/120 md5** for an IPV6 network54�h]�hV)��}�(h�J**host template1 postgres ::ffff:192.168.0.0/120 md5** for an IPV6 network�h]�(hj)��}�(h�6**host template1 postgres ::ffff:192.168.0.0/120 md5**�h]�hJ�2host template1 postgres ::ffff:192.168.0.0/120 md5�����}�(h jh!hh"NhNubah}�(h]�h]�h]�h]�h]�uhhih jubhJ� for an IPV6 network�����}�(h jh!hh"NhNubeh}�(h]�h]�h]�h]�h]�uhhUh"h#hK9h jubah}�(h]�h]�h]�h]�h]�uhjh"h#hK9h j�ubeh}�(h]�h]�h]�h]�h]�j9h�uhh�h"h#hK8h j�ubah}�(h]�h]�h]�h]�h]�uhj�h"h#hK8h h&h!hubhV)��}�(h��For more information, please refer to the PostgreSQL documentation about55`client authentication <https://www.postgresql.org/docs/current/client-authentication.html>`_.�h]�(hJ�IFor more information, please refer to the PostgreSQL documentation about56�����}�(h jDh!hh"NhNubju)��}�(h�]`client authentication <https://www.postgresql.org/docs/current/client-authentication.html>`_�h]�hJ�client authentication�����}�(h jLh!hh"NhNubah}�(h]�h]�h]�h]�h]��name��client authentication�j��Bhttps://www.postgresql.org/docs/current/client-authentication.html�uhjth jDubh)��}�(h�E <https://www.postgresql.org/docs/current/client-authentication.html>�h]�h}�(h]��client-authentication�ah]�h]��client authentication�ah]�h]��refuri�j\uhh57j�Kh jDubhJ�.�����}�(h jDh!hh"NhNubeh}�(h]�h]�h]�h]�h]�uhhUh"h#hK;h h&h!hubhV)��}�(h�)**FATAL: password authentication failed**�h]�hj)��}�(hjvh]�hJ�%FATAL: password authentication failed�����}�(h jxh!hh"NhNubah}�(h]�h]�h]�h]�h]�uhhih jtubah}�(h]�h]�h]�h]�h]�uhhUh"h#hK>h h&h!hubh)��}�(h�e.. image:: images/ce_password_failed.png58    :alt: Password authentication failed59    :align: center60�h]�h}�(h]�h]�h]�h]�h]��alt��Password authentication failed��align��center��uri��images/ce_password_failed.png�h�}�h�j�suhh~h"h#hK@h h&h!hubhV)��}�(hX�The *password authentication failed for user* error message indicates there61may be a problem with the password you entered. Retry the password to confirm62you entered it correctly. If the error message returns, make sure that you have63the correct password, that you are authorized to access the server, and that64the access has been correctly configured in the server's postgresql.conf65configuration file.�h]�(hJ�The �����}�(h j�h!hh"NhNubh�)��}�(h�)*password authentication failed for user*�h]�hJ�'password authentication failed for user�����}�(h j�h!hh"NhNubah}�(h]�h]�h]�h]�h]�uhh�h j�ubhJXh error message indicates there66may be a problem with the password you entered. Retry the password to confirm67you entered it correctly. If the error message returns, make sure that you have68the correct password, that you are authorized to access the server, and that69the access has been correctly configured in the server’s postgresql.conf70configuration file.�����}�(h j�h!hh"NhNubeh}�(h]�h]�h]�h]�h]�uhhUh"h#hKDh h&h!hubeh}�(h]�(�connection-error�heh]�h]�(�connection error��
connect_error�eh]�h]�uhh$h hh!hh"h#hK�expect_referenced_by_name�}�j�hs�expect_referenced_by_id�}�hhsubeh}�(h]�h]�h]�h]�h]��source�h#�translation_progress�}�(�total�K�71translated�Kuuhh�current_source�N�current_line�N�settings��docutils.frontend��Values���)��}�(�output�Nh)N�	generator�N�	datestamp�N�root_prefix��/��source_link�N�72source_url�N�
toc_backlinks��entry��footnote_backlinks���
sectnum_xform���strip_comments�N�strip_elements_with_classes�N�
strip_classes�N�report_level�K�73halt_level�K�exit_status_level�K�debug�N�warning_stream�N�	traceback���input_encoding��	utf-8-sig��input_encoding_error_handler��strict��output_encoding��utf-8��output_encoding_error_handler�j��error_encoding��cp1252��error_encoding_error_handler��backslashreplace��
language_code��en��record_dependencies�N�config�N�	id_prefix�h�auto_id_prefix��id��
dump_settings�N�dump_internals�N�dump_transforms�N�dump_pseudo_xml�N�expose_internals�N�strict_visitor�N�_disable_config�N�_source�h#�_destination�N�
_config_files�]��file_insertion_enabled���raw_enabled�K�line_length_limit�M'�pep_references�N�pep_base_url��https://peps.python.org/��pep_file_url_template��pep-%04d��rfc_references�N�rfc_base_url��&https://datatracker.ietf.org/doc/html/��	tab_width�K�trim_footnote_reference_space���syntax_highlight��long��smart_quotes���smartquotes_locales�]��character_level_inline_markup���doctitle_xform���
docinfo_xform���sectsubtitle_xform���
image_loading��link��embed_stylesheet���cloak_email_addresses���section_self_link���env�Nub�reporter�N�indirect_targets�]��substitution_defs�}��substitution_names�}��refnames�}��refids�}�h]�has�nameids�}�(j�hj�j�j�j�jfjcu�	nametypes�}�(j��j��j��jf�uh}�(hh&j�h&j�j�jcj]u�
footnote_refs�}��
citation_refs�}��
autofootnotes�]��autofootnote_refs�]��symbol_footnotes�]��symbol_footnote_refs�]��	footnotes�]��	citations�]��autofootnote_start�K�symbol_footnote_start�K�74id_counter��collections��Counter���}���R��parse_messages�]��transform_messages�]�(h	�system_message���)��}�(hhh]�hV)��}�(hhh]�hJ�3Hyperlink target "connect-error" is not referenced.�����}�h j\sbah}�(h]�h]�h]�h]�h]�uhhUh jYubah}�(h]�h]�h]�h]�h]��level�K�type��INFO��source�h#�line�KuhjWubjX)��}�(hhh]�hV)��}�(hhh]�hJ�-Hyperlink target "index-0" is not referenced.�����}�h jwsbah}�(h]�h]�h]�h]�h]�uhhUh jtubah}�(h]�h]�h]�h]�h]��level�K�type�jq�source�h#�line�KuhjWube�transformer�N�include_log�]��75decoration�Nh!hub.
codekingpro/portable-devtools · Team Ai