Connecting to postgresql

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
Sergio
Posts: 45
Joined: 29 Sep 2013, 16:36

Connecting to postgresql

19 Apr 2017, 11:01

I've seen a few posts on the topic but no resolution. So it's either very simple & I'm missing it or maybe not possible?

Using the IsNull/ahkDBA library for an easy UI, I've tried with two connection strings constructed from (connectionstrings.com).

ADO
Driver={PostgreSQL};Server=localhost;Port=5432;Database=postgres;Uid=postgres;Pwd=password;
OLE DB
Provider=PostgreSQL OLE DB Provider;Data Source=localhost;location=postgres;User ID=postgres;password=password;timeout=1000;
The funny thing is - not only does it not work - but when I put in the ADO connection string, the error message is OLE DB (screenshot). When I put in OLE DB, the error is for ADO (screenshot). Very strange.

Does anyone know how to connect to PostgreSQL from AHK?

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Ragnar and 342 guests