How to connect to MySQL server with OpenVPN via ODBC driver?

Discussion in 'Site & Server Administration' started by daniel-123, Sep 6, 2015.

  1. #1
    Hello to all, this is my first post here :)

    I realy need help with setting up openvpn. I need it to connect to my mysql database from my home computer via openvpn. After I have install openvpn and set it up, and connect, I got my IP: 10.8.X.X ... now I need use this to connect to mysql server via ODBC. So I have try this:
    1) Install odbc mysql driver
    2) In ODBC Data Source Administrator I have add new System DNS
    2.1) For driver I have selected MySQL ODBC 5.3
    2.2) for TCP/IP Server in connector ODBC I have put IP of server at work 192.168.X.X port: 3306
    3) After type user and password, got this error: Connection failed: MySQL ODBC drier can't connect to mysql server on '192.168.x.x' (10060):

    Realy don't know what is wrong? IP of server is correct, because I use it in my company to connect to it...

    Tnx, for any sugestions.
     
    daniel-123, Sep 6, 2015 IP