MariaDB Server Installation for Mac

MariaDB Server: One of most popular database server in the world. Developed as open source software and as a relational database which provides an SQL interface for accessing data.

Source

Homebrew: package management software, missing package manager for macOS, simplies installation of software on Apple’s macOs.

Install mariadb server on macOS using Homebrew:

  1. Install Homebrew package manager from https://brew.sh/ (this contains the link and instructions)
  • Paste this link into terminal:
  • /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Press return to continue and press your computer password.

IT WILL THEN GET INSTALLED.

2. Now you can install MariaDB server in terminal.

$ brew install mariadb

$ mysql.server start (start server)

$ brew services start mariadb (auto start)

$ mysql -u root (log in)

If ERROR 1045 (28000): access denied for ‘root’@’localhost’(using password) is showing

  • Stop the MySQL server

If don’t know where MySQL server is?

  • Go to system preferences, and MySQL will show in the bottom, just click it and click Stop MySQL Server

Upgrading MariaDB Server:

First update your brew installation:

brew update

Then upgrade MariaDB Server:

brew upgrade mariadb

--

--

--

Just a curious kid. https://topgyaltsering.medium.com/membership https://topgyaltsering.medium.com/subscribe https://medium.com/data-revolution

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Pointers For Dummies By a Dummy

What can development teams learn from MOBAs (and vice-versa)?

Road to Genius — Python Series level 1

CRviz: Initial Release

Microservice through my lens (Part1)

CBSE Python(083) Class 12 tuple assignment programs

Redis: Filter and sort your data in a SQL-like way using SORT

Get your Chatbot to Speak over 12 Languages with Deepl

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Topgyal Gurung

Topgyal Gurung

Just a curious kid. https://topgyaltsering.medium.com/membership https://topgyaltsering.medium.com/subscribe https://medium.com/data-revolution

More from Medium

GitHub workflow

Top 5 Visual Studio Code Extensions for Azure

A Guide To Release Management In DevOps

Using Packer to Reproduce a Legacy Windows Environment