Connection libraries for Azure Database for MySQL - Flexible Server

APPLIES TO: Azure Database for MySQL - Single Server

Important

Azure Database for MySQL single server is on the retirement path. We strongly recommend that you upgrade to Azure Database for MySQL flexible server. For more information about migrating to Azure Database for MySQL flexible server, see What's happening to Azure Database for MySQL Single Server?

This article lists each library or driver that client programs can use when connecting to Azure Database for MySQL flexible server.

Client interfaces

MySQL offers standard database driver connectivity for using MySQL with applications and tools that are compatible with industry standards ODBC and JDBC. Any system that works with ODBC or JDBC can use MySQL.

Language Platform Additional Resource Download
PHP Windows, Linux MySQL native driver for PHP - mysqlnd Download
ODBC Windows, Linux, macOS X, and Unix platforms MySQL Connector/ODBC Developer Guide Download
ADO.NET Windows MySQL Connector/Net Developer Guide Download
JDBC Platform independent MySQL Connector/J 8.1 Developer Guide Download
Node.js Windows, Linux, macOS X sidorares/node-mysql2 Download
Python Windows, Linux, macOS X MySQL Connector/Python Developer Guide Download
C++ Windows, Linux, macOS X MySQL Connector/C++ Developer Guide Download
C Windows, Linux, macOS X MySQL Connector/C Developer Guide Download
Perl Windows, Linux, macOS X, and Unix platforms DBD::MySQL Download

Next steps

Read these quickstarts on how to connect to and query Azure Database for MySQL flexible server by using your language of choice: