The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How setup a DSN for pyodbc.

Discussion in 'Database Discussions' 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:
    30,811
    Likes Received:
    672
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  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