The ODBC Connection database prompts "[Microsoft] [ODBC driver manager] in the specified DSN, the architecture between the driver and the application does not match" SOLUTION

Source: Internet
Author: User
Tags driver manager dsn odbc connection

The cause of this error is that the computer used is 64-bit, but the MySQL 64-bit ODBC driver and the qt odbc driver do not know where it is incompatible, so the connection may fail. Reinstall MySQL's 32-bit ODBC driver for configuration, and connect again (64-bit and 32-bit drivers can work normally, this is not scientific = ).

= ==================================

P.s.: remote connection to the database is really not difficult. It is easy to use the interface provided by MySQL. h In vs, but there are various bugs when porting to QT. Starting from Thursday, we have struggled with header files such as MySQL. h and winsock2.h. I wanted to compile the MySQL driver of QT on Friday, so I had to worry about it until noon on Saturday. From noon till now, when I used ODBC connections, I encountered the above unreasonable bug, so I was unable to speak. Fortunately, it was finally done and relieved.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.