You can download the official MySQL Connector/ODBC driver directly from the MySQL Community Downloads portal. [1, 2]
However,
Microsoft Dynamics 365 Business Central Cloud cannot directly connect to an external database via a local ODBC driver because it runs as a multi-tenant SaaS platform without access to local machine drivers. To bridge Business Central with MySQL, you must either use middleware or pull Business Central data into a local environment using a Business Central ODBC driver. [
1,
2]
1. How to Download & Install the MySQL ODBC Driver
If you are setting up a local server, middleware machine, or ETL tool to talk to MySQL, follow these steps:
- Install Prerequisites. Ensure you have the Microsoft Visual C++ Redistributable (64-bit) installed on your Windows machine, as the MySQL driver requires it to run. [1, 2]
- Download the Installer. Go to the MySQL Connector/ODBC Downloads page. Select Microsoft Windows as the operating system and download the Windows (x86, 64-bit), MSI Installer. (You can click "No thanks, just start my download" to bypass creating an Oracle account). [1, 2, 3]
- Run the Setup. Double-click the downloaded
.msi file and complete the installation wizard. [1] - Configure the DSN. Open the Windows ODBC Data Source Administrator (64-bit), go to the System DSN tab, click Add, select MySQL ODBC Unicode Driver, and enter your MySQL server IP, port (usually
3306), username, and password. [1, 2, 3]
2. How to Connect Business Central to MySQL
Because Business Central Cloud cannot natively read a MySQL ODBC driver, you must connect them using one of these architectures:
- Use Middleware / Integration Tools. Tools like Power Automate, Azure Data Factory, or KingswaySoft act as a bridge. They connect to Business Central via its native REST APIs/OData and connect to your MySQL database using the MySQL ODBC driver you just installed.
- Query Business Central from a Local App (Reverse Direction). If your goal is to run SQL queries or join Business Central data alongside MySQL data on your local PC, you need a Dynamics 365 Business Central ODBC Driver (such as those from Devart or CData). These drivers translate Business Central's web APIs into standard SQL tables that you can access in tools like MySQL Workbench, Excel, or SSIS. [1, 2]
- Custom AL Extension + Web Service. In Business Central, you can write an AL codeunit using
HttpClient to send JSON payloads to a lightweight REST API hosted on your MySQL server (e.g., built with Node.js, Python, or PHP), which then writes the data to MySQL.
To give you the exact configuration steps, could you share:
- Whether you are using Business Central Cloud or On-Premises
- Your end goal (e.g., syncing data one-way, two-way integration, or reporting)