Contents
MariaDB intends to maintain high compatibility with MySQL. It is one of the most popular databases in the world. MariaDB is named after the name of younger daughter Maria of its founder Michael 'Monty' Widenius. In this tutorial, we will learn the steps involved in the installation process of MariaDB on MacOS. Powerful database management & design tool for Win, macOS & Linux. With intuitive GUI, user manages MySQL, PostgreSQL, MongoDB, MariaDB, SQL Server, Oracle & SQLite DB easily.
MariaDB Database Client and SQL GUI Tool The RazorSQL MariaDB database client and SQL GUI includes a MariaDB SQL editor, a MariaDB import tool, a MariaDB export tool, MariaDB backup tools, a MariaDB database browser, and MariaDB query builder and other tools such as table editors, tools for creating and altering tables, and more.
MariaDB Server is available for installation on macOS (formerly Mac OS X) via the Homebrew package manager.
MariaDB Server sets the standard for open source relational databases, with Oracle Database compatibility (e.g., sequences and PL/SQL), temporal tables, transparent sharding, instant schema changes, point-in-time rollback and modern SQL (i.e., common table expressions, window functions, JSON functions and more). DbForge Studio for MySQL is a universal GUI tool for MySQL and MariaDB database development, management, and administration. The IDE allows you to create and execute queries, develop and debug stored routines, automate database object management, analyze table data via an intuitive interface.
MariaDB Server is available as a Homebrew 'bottle', a pre-compiled package. This means you can install it without having to build from source yourself. This saves time.
After installing Homebrew, MariaDB Server can be installed with this command:
After installation, start MariaDB Server:
To auto-start MariaDB Server, use Homebrew's services functionality, which configures auto-start with the launchctl utility from launchd:
After MariaDB Server is started, you can log in as your user:
Or log in as root:
Upgrading MariaDB
First you may need to update your brew installation:
Then, to upgrade MariaDB Server:
Building MariaDB Server from source
In addition to the 'bottled' MariaDB Server package available from Homebrew, you can use Homebrew to build MariaDB from source. This is useful if you want to use a different version of the server or enable some different capabilities that are not included in the bottle package.
Two components not included in the bottle package (as of MariaDB Server 10.1.19) are the CONNECT and OQGRAPH engines, because they have non-standard dependencies. To build MariaDB Server with these engines, you must first install boost
and judy
. As of December 2016, judy is in the Homebrew 'boneyard', but the old formula still works on macOS Sierra. Follow these steps to install the dependencies and build the server:
You can also use Homebrew to build and install a pre-release version of MariaDB Server (for example MariaDB Server 10.2, when the highest GA version is MariaDB Server 10.1). Use this command to build and install a 'development' version of MariaDB Server:
Mariadb Client For Mac Windows 10
Other resources
- Terin Stock (terinjokes) who is the packager for Homebrew