ODBC error and can''t figure out

Results 1 to 3 of 3
  1. #1
    Member EliteCrewZ is offline
    MemberRank
    Jul 2012 Join Date
    79Posts

    ODBC error and can''t figure out

    Hey there..

    I have a windows 2008 server with mysql 2005.

    i have setup my server + odbc..

    When i Create a account with KOAM it's working fine..

    But when i use a ODBC Register script i get this error:

    Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application, SQL state IM014 in SQLConnect in C:\xampp\htdocs\register\index.php on line 63

    Warning: odbc_exec(): supplied argument is not a valid ODBC-Link resource in C:\xampp\htdocs\register\index.php on line 81

    Warning: odbc_fetch_array(): supplied argument is not a valid ODBC result resource in C:\xampp\htdocs\register\index.php on line 88

    Warning: odbc_exec(): supplied argument is not a valid ODBC-Link resource in C:\xampp\htdocs\register\index.php on line 102

    Ive tryed to change my odbc on many diffrent ways...

    ODBC can't find the sql server him self when i click the arrow to search for a sql server.

    So i copy and paste my connection from 2005 management...

    What the hell is wrong?

    Ive did this tons of times and never had this issue..

    I use xampp 1.7.1 version btw.


  2. #2
    Account Upgraded | Title Enabled! Esquire is offline
    MemberRank
    Sep 2013 Join Date
    Sharkyay, ŠiauLocation
    203Posts

    Re: ODBC error and can''t figure out

    try run as administrator

  3. #3
    Member EliteCrewZ is offline
    MemberRank
    Jul 2012 Join Date
    79Posts

    Re: ODBC error and can''t figure out

    Like you even read the thread? if you've read it then you know it has nothing to do with running as Administrator, but i fixed it...

    The Solution Add the ODBC From the Administration Panel, Dont open it in Configuration, but in Administrative tools. Hope this will help people with the same solution.



Advertisement