Delphi XE2 using dbexpress to connect to MySQL database

Source: Internet
Author: User
Tags file copy

MySQL installation directory in the Lib subdirectory of the Libmysql.dll file copy to C:/windows/system32 (the system is not on the C drive to the corresponding directory), restart the Delphi XE, follow the above steps to test the connection, You will see that there is still an issue that does not initialize the database driver correctly. The biggest detour is the use of the installation version of MySQL. You just have to use the decompression version of the MySQL database to be no problem. In fact, the real thing here is still libmysql.dll. as long as you extract the version of Libmysql.dll from the extracted version of MySQL to the C:/windows/system32 directory, there will be no problem of properly initializing the database driver.

For details, refer to the following website

http://blog.csdn.net/chaijunkun/article/details/6266641

Delphi XE2 using dbexpress to connect to MySQL database

Related Article

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.