Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 8 of 8

This is a discussion on Setting up MySQL and remote ODBC - more of an answer than a question!! in the Open Discussion & Chit-chat forum
Hi there, Thought I'd post this, as I was having issues connecting to a MySQL server via a remote ODBC connection, and none of the ...

  1. #1
    Kiwi Newbie
    Join Date
    Mar 2006
    Location
    Auckland, New Zealand
    Posts
    24

    Post Setting up MySQL and remote ODBC - more of an answer than a question!!

    Hi there,

    Thought I'd post this, as I was having issues connecting to a MySQL server via a remote ODBC connection, and none of the other posts that I read appeared to have the answer to the problem I was having connecting. I posted a trouble ticket, and in double-quick time had an answer. So in thanks and payment I thought I'd list the answer here in case someone else has the same problem in the future.

    I'd set up the connection to use:

    Server : www.mydomainnameonJag.com
    User : MySQLusername
    Password : yeahlikeimgoingtopostTHAThere! ;-) (but it was the MySQL p/w)

    In addition, I set the port number to 3306 (which is actually the default I understand).

    However I was still getting bounced. Turns out that you need to configure to allow your remote IP address access to the server's MySQL port/database. You do that through CPanel by going into the "MySQL Database" settings, and
    down the bottom, adding your remote IP address to the list of "Access Hosts". Let's hope your remote IP address is static rather than dynamic (although I think you can enter a range - if you know what your dynamic range is).

    I know it's simple and "newbie" ... but it caught me out, and there might be other simple newbies like me who come along later with the same problem!

    - and out,

    Mark
    Mark Evans
    m: +64-21-494 850
    p: +64-9-846 7456

  2. #2
    Kiwi Newbie
    Join Date
    Mar 2006
    Location
    Auckland, New Zealand
    Posts
    24
    Further to the previous message ... I found another couple of problems (and solutions) so thought I'd add them to this thread.

    I initially installed the 3.51.12 version of the MySQL ODBC Connector. Turns out there's a bug with this version that causes MS-Access not to connect (gives a "User disconnected" message on trying to connect). The solution is to download the updated version of the driver from:
    ftp://ftp.mysql.com/pub/mysql/hidden/connectors/odbc

    The version I used was 3.51.13.

    It's a good idea to deinstall the previous version - otherwise things seem to get confused. Then reinstall the new one.

    I then got another connection problem trying to connect:
    Error 1044 access denied.

    Turned out I had the tablename wrong. It was:
    _myJaguser_dbname
    .. and it needed the leading underscore removed.

    After that, sweet as a nut!

    Cheers and hth someone,

    Mark
    Mark Evans
    m: +64-21-494 850
    p: +64-9-846 7456

  3. #3
    Ron
    Ron is offline
    Loyal Client
    Join Date
    Aug 2002
    Posts
    7,304
    Great documentation. Thanks!

  4. #4
    JPC Member
    Join Date
    May 2007
    Posts
    33
    This is a great documentation. It really helped me to configure MySQL - ODBC. Please make this thread as sticky.

    Satya

  5. #5
    JPC Member
    Join Date
    May 2007
    Posts
    33
    One more question, doest MySQL -ODBC drivers works through a Proxy Server? I am behind a company firewall and Proxy Server.
    I could connect through the home, but not from the office.

    Satya

  6. #6
    the Windlord Gwaihir's Avatar
    Join Date
    Jun 2002
    Posts
    2,562
    Usually not. It depends on the configuration of the firewall+proxyserver. What they tend to do is block all traffic + reroute some traffic they allow via the proxy. The MySQL traffic to port 3306 usually isn't in that allowed mix. You need to get your administrator to open a route to port 3306 for you (either via the proxy or directly).
    Regards,

    Wim Heemskerk
    ---
    Visit MeCCG.net - Cardgaming in J.R.R. Tolkien's Middle-earth
    And Gwaihir.net - The Middle-earth CCG store

  7. #7
    JPC Guru
    Join Date
    Oct 2004
    Location
    USA
    Posts
    258
    We're all n00bies! Except MAYBE Greg, he does own the place...
    Starving grad student fund = Domains.greypc.com ;

  8. #8
    JPC Member
    Join Date
    May 2007
    Posts
    33
    thanks to all for excellent replies.

    Satya

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •