Black Friday is here! Get up to 30% off on Devart products!
ends in   {{days}}
Days
{{timeFormat.hours}}
:
{{timeFormat.minutes}}
:
{{timeFormat.seconds}}

Connection to MySQL Database from Delphi, C++Builder, and Lazarus

MySQL Data Access Components (MyDAC) is a library of components that provides direct access to MySQL and MariaDB from Delphi and C++Builder, including Community Edition, as well as Lazarus (and Free Pascal) on Windows, Linux, macOS, iOS, and Android for both 32-bit and 64-bit platforms. Applications based on MyDAC can connect directly to MySQL server or work through the MySQL client library. MySQL Data Access Components are designed to help programmers develop MySQL database applications faster and easier.

MyDAC is a complete replacement for standard MySQL connectors and presents an efficient alternative to the Borland Database Engine (BDE) and standard dbExpress driver for access to MySQL.

Native Connectivity to MySQL

MyDAC-based DB applications are easy to deploy, do not require installation of other data provider layers (such as BDE or ODBC), and that's why they can work faster than the ones based on standard Delphi data connectivity solutions. Moreover, MyDAC provides an additional opportunity to work with MySQL directly without involving the MySQL client library.

Wide Coverage of MySQL Features

By providing access to the most advanced database functionality, MyDAC allows developers to harness the full capabilities of the MySQL server and optimize their database applications. MyDAC provides complete support of Embedded server, secure connection, and MySQL administration tasks.

  • SSL connection
  • Row-level and table-level-locking
  • Embedded Server
  • Service tasks
  • Bulk data loading
  • Direct connection
  • HTTP tunneling
  • Transparent Application Failover

Cross-Platform Components for Delphi, C++Builder, and Lazarus

MyDAC is a cross-platform solution for developing applications using various IDEs: RAD Studio, Delphi, C++Builder, Lazarus (and FPC) on Windows, macOS, Linux, iOS, Android, and FreeBSD for both x86 and x64 platforms. MyDAC also supports the FireMonkey platform, which allows you to develop visually spectacular high-performance desktop and mobile native applications.

Cross-platform and cross-IDE solution

Secure Connection

You can use MyDAC with SecureBridge components to embed an SSL, SSH, or HTTP/HTTPS protocols into your application developed in Delphi, C++Builder, Lazarus, or Free Pascal for establishing a secure connection to MySQL server.

Secure Connections in Delphi

Product features

Direct Mode

Direct Mode

Allows your application to work with MySQL directly without involving the MySQL client library, thus significantly facilitating deployment and configuration of your applications.

Mobile Development

Mobile Development

Development for iOS and Android mobile devices using MyDAC becomes easier, as MyDAC allows your mobile applications to work with MySQL database as simply as desktop applications do.

DB Compatibility

Database Compatibility

Our product supports MySQL server versions up to 8.0, MariaDB server versions up to 11.x, Microsoft Azure Database for MySQL, Amazon RDS for MySQL, Amazon Aurora, and Google Cloud for MySQL.

IDE Compatibility

IDE Compatibility

Our product is compatible with the latest IDE versions and editions including Community Edition: Embarcadero RAD Studio 12 Athens, Delphi 12 Athens, C++ Builder 12 Athens, Lazarus (and FPC). It is also compatible with the previous IDE versions since Delphi 6 and C++Builder 6.

Data Type Mapping

Data Type Mapping

If you want to make custom correspondence between MySQL Server and Delphi data types, you can use a simple and flexible Data Type Mapping engine provided by MyDAC.

Development Platforms

Development Platforms

All major GUI frameworks supported: develop VCL applications for Windows or cross-platform FMX applications in Delphi, as well as LCL applications for Windows, macOS, or Linux in Lazarus.

Performance

Performance

All our components and libraries are designed to help you write high-performance, lightweight data access layers. Therefore they use advanced data access algorithms and techniques of optimization.

Monitoring

Monitoring

Use our freeware dbMonitor tool to monitor and analyze all the DB calls made by your application using MyDAC. dbMonitor performs per­component tracing of SQL statement execution, commits, rollbacks, etc.

Support

Support

Visit our Support page to get instant help from knowledgeable and experienced professionals, a quick resolution of your problems, and nightly builds with hotfixes.

Frequently Asked Questions

Discover Other Connectivity Solutions

ADO.NET - ODBC - SSIS - Excel Add-ins - Delphi - OData

Get extra benefits with Devart for Enterprise

Learn more about our convenient software purchasing process and an array of benefits for enterprise companies.
  • Bonuses for corporate clients

    These may include fast and effective deployment, corporate budget optimization, and a number of special deals.
  • Dedicated manager

    We will save your time by providing a dedicated manager to consult you and guide you through all the purchasing and licensing processes.