Installing MyODBC 3.51 on Windows 7 x64

odbcIn order to get some of our 32 bit applications working on Windows 7 64 bit edition, we need to provide support for the MySQL 3.51 ODBC connector. This also works with the newer versions of MyODBC (5.x).

This is actually quite simple to do, as long as you know what to look for. The ODBC manager that you are able to access from within Windows is not going to work for you, but it turns out that Microsoft provide a 32 bit manager that will.

To use this manager, run the following command:


Please note that it is not good enough to just type odbcad32.exe, as there is another file in the path with the same file name (great work MS!). However, once you have opened this application up, it works in the exact same way as if you were running XP.

This article was moved from my other website:

54 thoughts on “Installing MyODBC 3.51 on Windows 7 x64

  1. I found this page very helpful. I was trying to connect to an existing mysql server on my new windows 7 box and this suggestion fixed me right up. Thanks

  2. Excellent resource. Thanks
    Windows 7 (64 bit) PC, also tried the mysql-connector-odbc-5.1.6-winx64.msi would not install. The mysql-connector-odbc-5.1.6-winx32.msi worked. However the ODBC Data Source Administrator does not show the connector under the User DSN or the System DSN. When you run the 32 bit manager it is a source.

  3. Thanks to everyone for leaving comments. Good to know that I’ve helped. We thought we might have to re-write quite a bit of our code before we worked it out. Easy when you know how!

  4. This did not work for me. I am not sure what I did wrong….

    I installed MySQL ODBC 3.51 driver (using the x86, 64-bit ZIP download). At first, I could not install with the command “install 0” and then I figured out it was because I had to run it as an Administrator. It seems to copy 8 files (myodbc*.*) to the %windir%\syswow64 and %windir%\system32 folders. As soon as this was done, I invoked the ODBC Manager referred in this article. The Manager came up but it does not list the MySQL ODBC 3.51 driver. When I start up the ODBC Manager from Administrative Tools, it displays the MySQL driver. I did set up the data source, but my application cannot find it. So that’s how I concluded something is quite not right.

    Please help.


    1. Hi Ashwin,

      I haven’t encountered a problem like this before. All that was necessary (during all of the installs I have done since I wrote this article) was just double clicking the MSI to install the software. Admin rights are required, but once the install is finished, I think the article method is still correct.

      However, I was using the 32 bit installer, as the 64 bit installer was not suitable for our software (at the time). I suspect that this is reason it appears in the 64 bit ODBC manager and not in the specified one.

      Are you able to use the 64 bit version? If not, uninstall it, download the 32 bit version and follow the guide… hopefully that will get you on your way!

      Good luck.


  5. Men… I LOVE YOU… I was just wondering, why I don’t have a MySQL database in new ODBC option…
    I have Win7 x64 …. now, I’m happy, because of you, I have functional ODBC datasoruce connected with mySQL.

    God bless you pall 🙂

  6. Wow – looked all over and tried other suggestions but this one was the answer. It’s our first Windows 7 64-bit machine and am trying to work out compatibility issues with existing network and servers. THANKS!!!

  7. Hi,
    I am using mysql 3.51 on win XP, Now i formated my PC and install Win 7, Then install mysql 3.51
    I am not able to see databases in WinMySQLAdmin1.4.exe
    On win XP I can see databases & also able read from command prompt. But on win 7 not able to read mysql from command prompt also.

    1. Hi Rupali, Did you try accessing the odbc manager as described in the post? You will probably need to remove any existing DSN you have created and then recreate it using the command above.

  8. Hello,

    Using a connector-ODBC Windows (x86, 32-bit) MSI, I created a DSN file to connect access 2010 (x32), and Mysql 5.1 over Windows 7 (x64) Ultimate.

    The connection test is successful, but when I try to link tables a -7778 error appears. Some idea?

    Thanks in advance

    1. Hi Hector. I haven’t tried using MySQL via Access for a very long time. It may be worth trying the 3.51 version of MyODBC in case it offers better compatibility – but it’s not something I have seen before.

      It may be worth checking this post out, if you havent already.

      …or this one here which seems to suggest an updated version 3.51 might work:

      Good luck, and please comment again if you work it out [for future reference]!

  9. The command on my machine is as follow:

    The capital WOW is needed

    Thank you for the knowledge it made it easy after I found the dir

  10. As a windows sysadmin for years, the above is correct. What I found to be of issue is when I use ooBase to make a remote mysql connection, there is a type mismatch i.e. 64 bit application trying to use 32 bit driver!! Any Suggestions?

    1. I have had a few issues like this before, and sometimes trying different versions of the MyODBC driver can help. Not sure about ooBase, but it might be worth trying some of the older MyODBC versions available.

Leave a Reply

Your email address will not be published. Required fields are marked *