Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How setup a DSN for pyodbc.

Discussion in 'Database Discussion' started by uncoke, Oct 30, 2014.

  1. uncoke

    uncoke Registered

    Joined:
    Oct 30, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    I have a CENTOS 6.6 x86_64 and I need to run a python script which uses a DSN connection (by pyodbc==3.0.7) so I need to createa DSN on my server.

    I would like to install ODBC driver from Oracle MySql page (MySQL :: Download Connector/ODBC) but I don't know if cPanel or WHM can help me.

    Any suggestion ?

    Thanks!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,699
    Likes Received:
    1,790
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    It's not supported, but you may find the following thread helpful:

    ODBC Connection

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. uncoke

    uncoke Registered

    Joined:
    Oct 30, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Thanks! I've read it but i think I don't need a remote connection. I just want use odbc on same hosting. As I wrote on my first post I need to solve this error:

    [unixODBC][Driver Manager]Can't open lib '/usr/lib64/libmyodbc5.so' : file not found (0) (SQLDriverConnect)")

    But I'm noob to install libmyodbc5.so...

    Any other suggestion will be very appreciate :)

    Thanks again!
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice