Skip to main content
Question

Not able to connect to Vertica database

  • August 2, 2020
  • 33 replies
  • 44 views

Show first post

33 replies

Jim_Knicely
Forum|alt.badge.img+2
  • Participating Frequently
  • November 26, 2021

@Lazzka - When specifying the Server Name in Azure Data Factory, is that server name or IP address reachable, or is there a firewall rule blocking port 5433?


Lazzka
  • New Participant
  • February 7, 2022

@Jim_Knicely Actually i'm trying to connect through PowerBI Desktop (not through Azure Data Factory) and getting same error as fabmel1:

[DataSource.Error] ODBC: ERROR [08001] [Vertica][Vertica DS] (160) Connection attempt failed: could not connect to server: ... Connection timed out (0x0000274C/10060) Is the server running on host and accepting TCP/IP connections on port 5433?

Btw i'm struggling with this error only on my company's external server (on my local laptop everything is working just fine)
Also when i'm connecting to same Vertica database through DBeaver (via external server), it's working okay, can see all the data with no such problem - so IP address should be reachable


Jim_Knicely
Forum|alt.badge.img+2
  • Participating Frequently
  • February 7, 2022

Hi, the client (Power BI) where ever it is, must be able to reach the target Vertica server IP, and any firewalls in between them must allow TCP over the port 5433.


Connyrt-emp1
Forum|alt.badge.img
  • Participating Frequently
  • February 7, 2022

@Lazzka, on the Power BI Desktop machine, have you tried testing the connection to Vertica using vsql? Do you get the same error message?


fnaf
  • New Participant
  • March 21, 2022

Hello. You can follow these steps:

  • Open DBeaver.
  • From the menu, click Database > New Database Connection.
  • In the Connect to a database window, search Vertica.
  • Click Next.
  • Enter your connection details:
  • Click Edit Driver Settings.
  • Select Libraries and then click Add File.
  • Select the Vertica JDBC file you downloaded.
  • five nights at freddy's

Lazzka
  • New Participant
  • September 27, 2022

@Connyrt-emp1 no, I can connect via vsql

vsql -h ... -U dbadmin -w ...
Welcome to vsql, the Vertica Analytic Database interactive terminal.


mosheg
Forum|alt.badge.img+2
  • Participating Frequently
  • September 28, 2022

DBeaver use JDBC driver while Power BI use ODBC to connect.

Please verify all connection instructions as shown in the guide below.
https://www.vertica.com/kb/Integration-with-Microsoft-Power-BI-Connection-Guide/Content/Partner/Integration-with-Microsoft-Power-BI-Connection-Guide.htm


RajasekharVuppala
Forum|alt.badge.img

@Lazzka Can you try to ping the Vertica server IP from your company's external server and can you try vsql from your company's external server?
Are you using Vertica Named connector?