EPUB | CHM | PDF

Installation

Top Previous Next

Installation:

Unzip archive file to any location you prefer;

Run .msi file and follow installation application instructions.

There are only compiled binaries installed for Trial package.

If you have one of Personal, Business, Commercial or Educational license packages you can choose to install or not install binaries during installation process.

After installation application completes DAC for MySQL tab at the Components palette will appear.

DAC for MySQL With Sources version

Start your Delphi (if you're using Rad Studio for both programming languages you need start Rad Studio);

Choose Main menu File/Open, and then select directory in which DAC for MySQL was installed;

Open MySQLDACXX.dproj, where XX - is the version of your IDE.

Select the target platform which you need in the Project Manager window and Build MySQLDACXX.dproj. You can build MySQLDACXX.dproj for all platforms, but build for Win32 is the required condition.

Close MySQLDACXX.dproj without save.

Open dcl_MySQLDACXX.dproj. Build & Install it. This is design time package so you need build it only for Win32 target platform.

Close dcl_MySQLDACXX.dproj without save.

Add path to the DAC for MySQL sources for desired platform.

 

DAC for MySQL With Sources version (if you have C++ Builder only)

Start your C++ Builder;

Choose Main menu File/Open, and then select directory in which DAC for MySQL was installed;

Open MySQLDACXXCB.cbproj, where XX - is the version of your IDE.

Select the target platform which you need in the Project Manager window and Build MySQLDACXXCB.cbproj.

Once you have built platforms you need, build package for Win32 platform. This is REQUIRED condition!

Close MySQLDACXXCB.cbproj without save.

Open dcl_MySQLDACXXCB.cbproj. Build & Install it. This is design time package, so you need build it only for Win32 target platform.

Close dcl_MySQLDACXXCB.cbproj without save.

Add path to the DAC for MySQL sources for desired platform.

 

Installation for Lazarus

Start your Lazarus IDE;

Choose Main menu Open, and then select DAC for MySQL sources directory;

Open MySQLDACL.lpk.

Click the Open Package button on dialog message.

Select Use>> Install.

Confirm rebuilding Lazarus.

Click Ignore All button if "ambiguous unit found" message dialog appears.

Set path to the DAC for MySQL sources in the FPC.cfg file.

Notes

For working with MySQL 8 the OpenSSL libraries should be present. You can add path to these libraries by PATH variable or copying to the project folder.
 
For using DAC for MySQL in Lazarus on Windows you need zlib1.dll.