PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV 25 → POSTGRESQL ADD TRUST IN PG_HBA.CONF
POSTGRESQL ADD TRUST IN PG_HBA.CONF
Iniciado por BOLLER, dez., 19 2019 12:34 AM - Sem resposta
Membro registado
3.651 mensagems
Popularité : +175 (223 votes)
Publicado em dezembro, 19 2019 - 12:34 AM
Prezados,

Caso esteja dando esse erro:

<?xml version="1.0" encoding="ISO-8859-1"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Header>
<nhs:WSID mustUnderstand="1" xsi:type="xsd:hexBinary" xmlns:nhs="urn:WsViaSaude" xmlns="urn:WsViaSaude">25A324086B2BC17FA5529414ECAC1A2389067F8D</nhs:WSID>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:Ws_Incluir_t000_ConfigResponse xmlns:ns1="urn:WsViaSaude">
<Ws_Incluir_t000_ConfigResult>native PostgreSQL access error. Error Number = 22 The following error was returned by the <localhost> database: Error number = <0>. Error message: FATAL: password authentication failed for user "postgres" </Ws_Incluir_t000_ConfigResult>
</ns1:Ws_Incluir_t000_ConfigResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


or

Native PostgreSQL access error. Error NUMBER = 22 The following error was returned BY the <localhost> DATABASE: Error NUMBER = <0>. Error message: FATAL: password authentication failed FOR USER "postgres"


ENTÃO FAÇA ISSO NO ARQUIVO: PG_HBA.CONF

TRUST IN PG_HBA.CONF

# TYPE DATABASE USER Address METHOD
#=====================================================================
# IPv4 LOCAL connections:
#=====================================================================
host ALL ALL ALL trust
#=====================================================================


QUE VAI DAR TUDO CERTO

AJUSTE DAI ELE CONFORME A SUA NECESSIDADE

--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 99949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/