MS Access with Mysql link table connection failed

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default MS Access with Mysql link table connection failed

    CF error:
    [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft
    Access Driver] ODBC--connection to 'ProdTracking' failed.

    In our MS access table we have a "link table" to the MySql database on a Linux
    box.
    We have tested the MySql server by using MS access through MYODBC link table
    to get to the database on the MySql
    server and it works.
    We have tested the MySql server by using a SQL query to the MySql database and
    it works.

    The middleware we are using is: MyODBC 3.5.1.11

    We have installed the HotFix SequeLink driver 5.4

    The app was working on Friday and the only thing that was done to the server
    was MS Critical updates. On Monday, the app
    refused to work giving the error above.

    Part of the same MS access database uses links to a FoxPro database and this
    part of the app works. Another part CF app accesses the same table that was
    linked inside the access database but is being accessed directly through CF
    MySql
    driver and this part of the app works as well.

    The only part of the app that does not work is where the CF app is trying to
    access the table via a link table inside of the MS
    access database.

    Thanks in advance for any assistance





    pelhughes Guest

  2. Similar Questions and Discussions

    1. #40471 [NEW]: PHP 5.2.1 failed to be compiled with MySQl 5.0.33, MySQL 5.0.27, MySQL 5.1.15
      From: pcdinh at gmail dot com Operating system: CentOS 4.4 PHP version: 5.2.1 PHP Bug Type: Compile Failure Bug description:...
    2. MS Access connection failed
      I'm trying to query an MS Access datasource I set up in CF7. I've tried using 3 different drivers: ODBC Socket, MS Access, MS Access Unicode. All...
    3. Lost MySql Table Access
      While in the middle of developing an application, DWMX has lost its mind. Everytime I attempt to add an additional server behavior, I see the "no...
    4. Failed to acces the SQL Server table from MS Access by ODBC Link T
      My MS Access database use "link table" to connect the SQL Server by ODBC. But I failed to access the table which link to SQL Server with the...
    5. CLI connection failed. SQL30082N Attempt to establish connection failed with security reason "24"
      Hi, have you found the failure? Because I'm now in the same situation and don't know how to go on??? :( Thanks Originally posted by Prince...
  3. #2

    Default Re: MS Access with Mysql link table connection failed

    I have never been able to do this. I'm using Access to link to MSSQL, and I
    tried
    just out of curiosity but didn't follow up much. I figured it was a security
    issue because
    you're allowing a non secured DB (Access) to connect to secured DB (MSSQL),
    which
    was fine as long as it was thru Access itself. To allow another ODBC
    connection to
    connect to Access and thus linked tables seemed a security breach to me. Maybe
    the
    critical update did something. Out of curiosity, why are you connecting to a
    linked
    MYSQL table via Access instead of connect directly to the MySQL DB? It must be
    really slow.


    OldCFer Guest

  4. #3

    Default Re: MS Access with Mysql link table connection failed

    >> Out of curiosity, why are you connecting to a linked MYSQL table via Access
    instead of connect directly to the MySQL DB? It must be really slow. <<

    Larry,
    The reason why we've done this was because we have already developed an
    application in MS Access, and have many stored query in the DB. Linking the
    tables stored in our MySQL DB was a quick solution at that time. Yes, this is
    slow for our application, but was our quickest solution at that time. It worked
    for over a year.

    I just found out that the MS Critical updates was installed after the
    connection failure, so that voids our original assumption that the updates
    might have caused this failure.

    We have fought this for almost 3 days already, and have no choice but to
    migrate the MS Access DB to MySQL.

    We still like to find a fix for ithe ODBC connection failure.

    If anyone has any suggestions, we?ll greatly appreciate it.
    Thank you

    pelhughes Guest

  5. #4

    Default Re: MS Access with Mysql link table connection failed

    Probably your MYSQL database does not allow remote connections. Enable that on the linux box and you will be fine. Use %'s if you have dynamic IP addresses. You can also just use % to allow a connection from ANY IP address. Not as secure and not recommended.

    10.10.2.%
    or
    192.168.%.%
    or
    %

    Your IT department will know what I mean. There is a specific command you can run to allow remote connections for an already existing user.

    Here are a couple of scripts you can run from the linux command prompt after you have loaded the MySQL database:

    (Connect to the database from the command prompt)
    $ mysql -u [username] -p [password]

    To setup on a database level:
    mysql> update db set Host='202.54.10.20' where Db='webdb';

    Or to setup on a user level:
    mysql> update user set Host='202.54.10.20' where user='webadmin';
    Unregistered Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139