Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fzD7h-0000xh-TC for pgsql-odbc@arkaria.postgresql.org; Mon, 10 Sep 2018 03:44:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fzD7f-0000rf-Ld for pgsql-odbc@arkaria.postgresql.org; Mon, 10 Sep 2018 03:44:23 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fzD7f-0000rU-6v for pgsql-odbc@lists.postgresql.org; Mon, 10 Sep 2018 03:44:23 +0000 Received: from mail-qt0-x242.google.com ([2607:f8b0:400d:c0d::242]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fzD7b-0000UT-OB for pgsql-odbc@postgresql.org; Mon, 10 Sep 2018 03:44:22 +0000 Received: by mail-qt0-x242.google.com with SMTP id n6-v6so22630180qtl.4 for ; Sun, 09 Sep 2018 20:44:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pcorp-us.20150623.gappssmtp.com; s=20150623; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-transfer-encoding:thread-index:content-language; bh=eFnaxY6OzuU5wwrMNl9g2XP5+JHka8jqfAegjL3FiJw=; b=XMhbdN2vO/xFoLiRQkL7f8C6OSvuhE7WC8TRKfXmuA+jWc6wjbThZQIgJi0zc2x5Ce Me8bKf4lvY37RlkaVPyX6GLk2K1mZd975Br15SSYrUWg9/gUaaDylngpnfrr5z6Sz60w 4GRMQpo2RJIH8bpYj4q/NrC4Q0qlFQqqOFL1iBAayW+1zoBMWmoWhS7WJNQZGopJVz9z UXWSWHlrAXHvgXXls41TqJQaa0FpiVZhiw+n2l4oVLODF9FUEunYJysdOcg1OWjpVz1S juLR9pJ4wpcMJ6GGrABLo6Mg25NDPP+/hEZ4mYpjDDxm1516XbmWAKPnBwI5Q6yBGPl6 /y/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-transfer-encoding:thread-index :content-language; bh=eFnaxY6OzuU5wwrMNl9g2XP5+JHka8jqfAegjL3FiJw=; b=J7qRmiVBQhWlgqC5+FJ7y8q80yI9b3IB/6IPj44Qf7SocYYtaCF37EtiaO1GbSJtnk pF6pBmNB3ftk6sb1g2CDFzSav8N1JV0nhT5YIZMJs2jfaXQCOX+QkqaB2uPi22xGCr76 4dGeqi8uU+xb860btRs+lC0BxorhcCIKLXb7jTNPrAOE3iaPAEhkWA7XfXobJdzHsJNB nMPcRaR3GUzzBNYXLiFYmURGyF227jsgO7dNU+PdM0ugWsIVu58fEJSiXUwhLL/eE+a7 qtm1RN9YInTo+qI005vddbzLUtLIWadwN17JbyURbv98fVoUPOhddpnZsKD8VrUzRRiA jWYg== X-Gm-Message-State: APzg51AMCeTDmW2T1n+NOffavcOy2ZYttRrqKtKYLKHdAvOsZsQa+yiC ESvNcVs6LWM6y2T9FkBYqKi/bA== X-Google-Smtp-Source: ANB0VdZ0aeBWsv1KYU/uMEruj6YxAyLMpWz5Qk9J3aAEI2rm1IJCke9kvJqNFIRFCVpXIuxNg0KcuA== X-Received: by 2002:aed:2947:: with SMTP id s65-v6mr14216411qtd.189.1536551058260; Sun, 09 Sep 2018 20:44:18 -0700 (PDT) Received: from R (50-78-240-110-static.hfc.comcastbusiness.net. [50.78.240.110]) by smtp.gmail.com with ESMTPSA id r4-v6sm7624798qtm.10.2018.09.09.20.44.17 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 09 Sep 2018 20:44:17 -0700 (PDT) From: "Regina Obe" To: "'Tom Lahey'" , , References: In-Reply-To: Subject: RE: Windows setup Date: Sun, 9 Sep 2018 23:44:18 -0400 Message-ID: <000201d448b8$8e41b440$aac51cc0$@pcorp.us> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQL56AGjXUByTZY07Dkpg0T7+XUptaKdmGHw Content-Language: en-us List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Tom, > I'm sorry to bother your for a simple question, but I think it will = help a lot of people and I will do my best to share it with Medical = school librarians and others who will find it very useful. > ClinicalTrials.gov is the repository where the US stores information = on clinical trials. It's a great resource for medical researches and the = public. > They have a method (database version in postgreSQL) to access the data = directly. The instructions are poor and for an unsupported version. > https://aact.ctti-clinicaltrials.org/pgadmin > I got this to work on my windows 7 computer but it took a while and I = have no idea how I finally got it to work on pgadmin4. > I am now struggling to setup the postgresql ODBC driver (64 bit) on my = windows 10 system. I can see the drivers but I can't seem to get a new = connection working. I also could not get pgadmin to work, but the driver = will be better anyway. Connecting on windows 7 vs. windows 10 using pgAdmin4 should be no = different. I've successfully connected on both Windows 7 and Windows 10 = with no issue. The process is much the same as it is in pgAdmin3 I got as far with the link you provided to get an error message that I = don't have the right credentials and my IP is not allowed from the = postgres server. =20 Could you be more specific about the error you get in pgAdmin4? Were = you able to install pgAdmin4 at all? Was it an error such as "no = pg_hba.conf entry for host .... was found"? That would suggest your IP = is not approved or the username and password you are using is wrong. > If at all possible could you send the specific steps to setup a ODBC = driver on windows 10 that connects to the data source (settings on the = link above). It would be greatly appreciated! Regarding the ODBC driver, first you need to determine if you need the = 64-bit or 32-bit driver. If you are using a 32-bit application to = connect e.g. MS Access Office 32-bit version, then you need the 32-bit = driver (not the 64-bit) even if you are on a 64-bit OS. =20 General steps for ODBC is to launch the ODBC Manager 1) C:\Windows\System32\ odbcad32.exe (this is the 64-bit version if = you are on a 64-bit Windows - confusing I know cause its got 32 all over = it) - this one is generally accessible from the control panel. The 32-bit version would be C:\Windows\SysWOW64\odbcad32.exe (confusing = cause it has a 64 on it, trust me it's the 32-bit version and generally = not accessible via the control panel) Click on whichever is relevant (if you are using the 32-bit make sure = you installed the 32-bit PostgreSQL odbc driver 2) Add a new System or User DSN and pick PostgreSQL Unicode. 3) You can set the data source name to anything you want, and fill in = the other info (same information as you filled in pgAdmin4) and click = the Test button. If you can connect you are set. If you can't connect or get a similar = error as I mentioned before, then your issue is not with your setup, but = something else like a Firewall you have locally or your ip is not = allowed or your password is not right. > If you are really feeling charitable, it would be amazing if you could = provide the specific steps for pgadmin4 windows 7 and windows 10 as well = as the ODBC driver link to the database for Windows 7 and Windows 10.=20 Sure I'd be willing to help, but don't want to send unsolicited help if = it's not going to be used. It's not clear to me they want help. Thanks, Regina