IMPORTANTE: PORTA FIREWALL DEVE SER ABERTA CRIAR REGRA DE INBOUND E OUTBOUND / ENTRADA E SAIDA |
|
IMPORTANTE O POSTGRESQL DO SERVIDOR DEVE SER A MESMA VERSAO DO COMPUTADOR DE DESENVOLVIMENTO |
|
DOWNLOAD DE TODOS OS DRIVERS NATIVOS FREE DA PCSOFT
WX20 https://package.windev.com/pack/addons/an/postgresql/WX200PACKPOSTGRESQL029.exe https://package.windev.com/pack/addons/an/mariadb/WX200PACKMARIADB029.exe https://package.windev.com/pack/addons/an/mysql/WX200PACKMYSQL029.exe
WX21 https://package.windev.com/pack/addons/an/postgresql/WX210PACKPOSTGRESQL039d.exe https://package.windev.com/pack/addons/an/mariadb/WX210PACKMARIADB039e.exe https://package.windev.com/pack/addons/an/mysql/WX210PACKMYSQL039d.exe
WX22 https://package.windev.com/pack/addons/an/postgresql/WX220PACKPOSTGRESQL037.exe https://package.windev.com/pack/addons/an/mariadb/WX220PACKMARIADB037.exe https://package.windev.com/pack/addons/an/mysql/WX220PACKMYSQL052.exe
WX23 https://package.windev.com/pack/addons/an/postgresql/WX230PACKPOSTGRESQL029b.exe https://package.windev.com/pack/addons/an/mariadb/WX230PACKMARIADB029b.exe https://package.windev.com/pack/addons/an/mysql/WX230PACKMYSQL029b.exe
WX24 https://package.windev.com/pack/addons/an/mariadb/WX240PACKMARIADB029d.exe https://package.windev.com/pack/addons/an/postgresql/WX240PACKPOSTGRESQL029d.exe https://package.windev.com/pack/addons/an/mysql/WX240PACKMYSQL029d.exe
WX25 https://package.windev.com/pack/addons/an/postgresql/POSTGRESQL25PACK052b.exe https://package.windev.com/pack/addons/an/mariadb/MARIADB25PACK052b.exe https://package.windev.com/pack/addons/an/mysql/MYSQL25PACK052b.exe
WX26 https://package.windev.com/pack/addons/an/postgresql/WX260PACKPOSTGRESQL052b.exe https://package.windev.com/pack/addons/an/mariadb/WX260PACKMARIADB052b.exe https://package.windev.com/pack/addons/an/mysql/WX260PACKMYSQL052b.exe
WX27 https://package.windev.com/pack/addons/an/postgresql/WX270PACKPOSTGRESQL055b.exe https://package.windev.com/pack/addons/an/mariadb/WX270PACKMARIADB055b.exe https://package.windev.com/pack/addons/an/mysql/WX270PACKMYSQL055b.exe
WX28 https://package.windev.com/pack/addons/an/postgresql/POSTGRESQL28PACKDVD051.exe https://package.windev.com/pack/addons/an/mariadb/MARIA28PACKDVD051.exe https://package.windev.com/pack/addons/an/mysql/MSQL28PACKDVD051.exe
by JEROME AERTS |
|
DOWNLOAD DOS DRIVERS NATIVOS OFICIAIS DA PCSOFT
https://forum.pcsoft.fr/en-US/pcsoft.br.windev/4000-links-oficiais-dos-drivers-nativos-pcsoft-jerome-aerts-4001/read.awp |
|
https://pcsoft.fr/st/telec/modules-communs-28/postgresql.htm
https://pcsoft.fr/st/telec/modules-communs-27/postgresql.htm
https://pcsoft.fr/st/telec/modules-communs-26/postgresql.htm
https://pcsoft.fr/st/telec/modules-communs-25/postgresql.htm
https://pcsoft.fr/st/telec/modules-communs-24/postgresql.htm
https://pcsoft.fr/st/telec/modules-communs-23/postgresql.htm
https://pcsoft.fr/st/telec/modules-communs-23/postgresql.htm
https://pcsoft.fr/st/telec/modules-communs-22/postgresql.htm
https://pcsoft.fr/st/telec/modules-communs-21/postgresql.htm
https://pcsoft.fr/st/telec/modules-communs-20/postgresql.htm |
|
ANOTE
A libpq.dll deve ser de acordo com a versão 14 e plataforma 64 bits adequada
Deve copiar para o diretórios:
W.A.S.
C:\Windows\System32 C:\Windows\Syswow64
C:\Program Files\PC SOFT\WINDEV 25\Programs\Framework\Win64x86 C:\Program Files\PC SOFT\WEBDEV 25\Programs\Framework\Win64x86 C:\Program Files\PC SOFT\WINDEV Mobile 25\Programs\Framework\Win64x86
Foi copiado as dlls para sobrescrever versoes velhas que poderiam dar conflito
Acertar em Painel de Controle, Sistema, Configuracoes Avançadas / Variáveis de ambiente/ path colocar onde fica as dlls e libs
Ok |
|
A libpq.dll deve ser de acordo com a versão 14 e plataforma 64 bits adequada
Deve copiar para o diretórios:
W.A.S.
C:\Windows\System32 C:\Windows\Syswow64
C:\Program Files\PC SOFT\WINDEV 25\Programs\Framework\Win64x86 C:\Program Files\PC SOFT\WEBDEV 25\Programs\Framework\Win64x86 C:\Program Files\PC SOFT\WINDEV Mobile 25\Programs\Framework\Win64x86
Foi copiado as dlls para sobrescrever versoes velhas que poderiam dar conflito
Acertar em Painrl de Vontrole, Sistema, Configuracoes Avançadas / Variáveis de ambiente/ path colocar onde fica as dlls e libs
Ok |
|
As dlls no Webdev de driver devem estar no W.A.S.
Ele é o escritor se ele não tiver a dll da versão do banco que está usando ele nso consegue fazer iO! |
|
https://pcsoft.fr/st/telec/modules-communs-27/postgresql.htm
https://pcsoft.fr/st/telec/modules-communs-26/postgresql.htm
https://pcsoft.fr/st/telec/modules-communs-25/postgresql.htm
https://pcsoft.fr/st/telec/modules-communs-24/postgresql.htm
https://pcsoft.fr/st/telec/modules-communs-23/postgresql.htm
https://pcsoft.fr/st/telec/modules-communs-23/postgresql.htm
https://pcsoft.fr/st/telec/modules-communs-22/postgresql.htm
https://pcsoft.fr/st/telec/modules-communs-21/postgresql.htm
https://pcsoft.fr/st/telec/modules-communs-20/postgresql.htm |
|
Itens a checar
1) Esse usou código para conectar ou a análise verifique em extendinfo se tem = "port=5432"
myPostgresql Is connection
myPostgresql..server = “192.168.1.120”
myPostgresql..extendinfo = “port=5432”
myPostgresql..user = “postgres”
myPostgresql..password = 123456
myPostgresql..database = “dbequipamentos”
myPostgresql..profiler = NativePostgreSQL….
Hopenconnection (myPostgresql)
2) ping 192.168.1.120 // no caso o ip em questão deve dar ping ou o Firewall está bloqueando
3) O pg_hba.conf não está em Trust host ALL ALL ALL trust Coloca em todas as linhas Trust
4) copiar a libpq.dll daqui do botão download de acordo com a versão usada se atentar também Deve estar em Windows System32 ou syswow64
5) Revisar o Firewall e o antivírus criar regras de confiança
6) banco, usuário e senha com maiúsculo pode dar erro
Ok se tiver dificuldade me ligue no +5541999491800 |
|
Se alterar o arquivo pg_hba.conf é obrigatório reiniciar o computador ou o serviço |
|
Postgresql
Instalação do Driver e definição da versao e libpq.dll da versao 14
a) Painel de controle, Sistema, Configurações, Variaveis do sistema
b) path na parte de cima e na parte de baixo informar esses caminhos:
C:\Program Files\PostgreSQL\14\pgAdmin 4\bin C:\Program Files\PostgreSQL\14\bin C:\Program Files\PostgreSQL\14\lib
c) instalar o driver da pcsoft https://pcsoft.fr/st/telec/modules-communs-24/postgresql.htm https://pcsoft.fr/st/telec/modules-communs-25/postgresql.htm https://pcsoft.fr/st/telec/modules-communs-26/postgresql.htm https://pcsoft.fr/st/telec/modules-communs-27/postgresql.htm
Instalar e so dar next ele colocara na pasta a dll WD250postgresql.dll = driver nativo
d) Ajustando Zip do repositorio com as dlls da versao 14 junto com a versao da libpq.dll
e) copiar as dlls importantes para o framework C:\Program Files\PC SOFT\WINDEV 25\Programs\Framework\Win64x86 C:\Program Files\PC SOFT\WEBDEV 25\Programs\Framework\Win64x86 C:\Program Files\PC SOFT\WINDEV Mobile 25\Programs\Framework\Win64x86 Foi copiado as dlls para sobrescrever versoes velhas que poderiam dar conflito
Pois ao fazer o deploy e o envio dos arquvos vai as dlls necessarias juntas ao projeto
O Postgresql é ALtamente CASE Sensetive Maiusculas e Minusculas devem ser infrmadas corretamente para nome de usuario, senha, instancia de banco de dados, tabelas e campos.
IMPORTANTE Tem que liberar no arquivo CONF o acesso se nao ele esta bloqueado isso é muito importante o que vou fazer agora
pg_hba.conf
host ALL ALL ALL trust
OBS.: PRINCIPAL RECOMENDAÇÃO É DEPOIS DE FAZER TUDO ISSO REINICIAR O COMPUTADOR OU O SERVIÇO QUE DAI VAI FUNCIONAR POIS A LEITURA DO ARQUIVO PG_HBA.CONF SÓ É LIDA NA INICIALIZAÇÃO DO COMPUTADOR. |
|
ESSA VERSAO ESTA COM AS DLLS LIB DA VERSAO 9 ATE A VERSAO 14 - DATA: 20/05/2022 |
|
|
gracias sr. adriano por el aporte a la comunidad pcsoft. |
|
https://forum.pcsoft.fr/fr-FR/pcsoft.br.windev/3364-driver-oracle-manual-instalacao/read.awp |
|