Menu

As simple as possible, as complex as necessary

Accessing Azure MariaDB server with Navicat

29 March 2023

Recently I've been trying to get some hands-on experience with the amorphous cloud offering that is Microsoft Azure. Among the services I've been testing is the Azure Database for MariaDB server which provides a dedicated, resilient database server instance without the bother of setting up and managing a VM or dealing with replication etc.

Once configured, the documentation explains how to connect to the server with MySQL Workbench, a popular free GUI client. This all worked fine, but for many years my GUI of choice has been Navicat. It's not free but I've found it well worth the license in terms of ease-of-use.

However, when I tried to connect to my Azure MariaDB instance, using exactly the same details as the MySQL Workbench connection, it failed with the error "This is not a MariaDB server".

I should add that I'm using the MySQL version of Navicat rather than the premium product which allows connections to a range of database types, but it does also support MariaDB. Although the two database products are very similar, you do need to tell Navicat which type you want to connect to, and obviously I selected MariaDB, as I normally do when connecting to my non-cloud hosted Maria instances.

It seems though that Navicat has trouble recognizing Azure's server as MariaDB, even though that is clearly what it is.

The solution is simple: choose MySQL as the server type instead of MariaDB.

Comments

  • Formatting comments: See this list of formatting tags you can use in your comments.
  • Want to paste code? Enclose within <pre><code> tags for syntax higlighting and better formatting and if possible use script. If your code includes "self-closing" tags, such as <cfargument>, you must add an explicit closing tag, otherwise it is likely to be mangled by the Disqus parser.
Back to the top