Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6012213
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T02:22:16+00:00 2026-05-23T02:22:16+00:00

Does anyone know what are the parameters for creating a connection string to Vertica

  • 0

Does anyone know what are the parameters for creating a connection string to Vertica database using adodbapi? I cannot use pyodbc, because it does not work with IronPython.

I have tried:

    connectorsver = ["DRIVER=Vertica ODBC Driver 4.1"]
    connectorsver.append("SERVER=1.1.1.1\xx")
    connectorsver.append ("DATABASE=mydatabase")
    connectorsver.append ("User Id=dbadmin")
    connectorsver.append ("Password=xxx")
            con = adodbapi.connect(";".join (connectorsver)) 

and that returned an operational error. The same technique with an MSSQL connection string worked fine. When I created a DSN in Windows with this information, it also made a successful connection to vertica.

Any help is appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T02:22:17+00:00Added an answer on May 23, 2026 at 2:22 am

    Looking at the Unit Tests for ADODBAPO, connect() will raise an adodbapi.DatabaseError on failure. You should check for this exception:

    try:
        con = adodbapi.connect(";".join (connectorsver))
    except adodbapi.DatabaseError, e:
        print e
    

    Watch your indentation, too. It looks like you’re mixing tabs and spaces. Python’s very sensitive to such things.

    I’ve not used Vertica, but you may find answers to does anyone know the format of an odbc connection string for vertica? to be of interest.

    Hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone know if NHibernate supports returning output parameters from stored procedures? I've had
Just installed Ghostscript 8.54 for Windows. Does anyone know of the minimum parameters to
Does anyone know if its possible to use Bulk insert from following code: FORALL
Does anyone know how to pass multiple parameters into a Thread.Start routine? I thought
Does anyone know of a good means to manage ASP.net membership parameters and accounts
Does anyone know how to get compile time validation of parameters being passed to
We're using Enterprise Library 4.1 for logging (and exception handling/cryptography). Does anyone know a
Does anyone know of a way to get only POST parameters from an HttpServletRequest
How does Google append search parameters to url without reloading page? Does anyone know
Does anyone know of crossbrowser equivalent of explicitOriginalTarget event parameter? This parameter is Mozilla

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.