Public preview: Azure Database for MySQL – Flexible Server now connects with Azure CLI
Published date: March 31, 2021
Azure Database for MySQL Flexible Server now provides an improved developer experience for connecting you to the server using Azure CLI with the “az mysql flexible- server connect” command.
The 'connect' uses a custom azure cli extension “rdbms-connect” that can not only help validate and test your server connection from your client machine, but it can also run queries. This command can also be used to run a quick single query with the “—querytext” argument, or in the interactive mode with the “—interactive” argument to run multiple queries for working with Postgres database server.
Learn more by reviewing the Command reference in Azure CLI extension for az mysql documentation and the Quickstart tutorial.