Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can install MariaDB and MySQL on your MacBook Pro by following these steps:

  1. Install Homebrew: Open Terminal and enter the following command to install Homebrew.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

  1. Install MariaDB: To install MariaDB, enter the following command in Terminal.

install mariadb

  1. Start the MariaDB server: After installation, start the MariaDB server with the following command.

services start mariadb

  1. Secure the MariaDB installation: To secure the installation, enter the following command.

_secure_installation

  1. Install MySQL: To install MySQL, enter the following command in Terminal.

install mysql

  1. Start the MySQL server: After installation, start the MySQL server with the following command.

services start mysql

  1. Secure the MySQL installation: To secure the installation, enter the following command.

_secure_installation

Now that you have installed and secured MariaDB and MySQL, you can start using them on your MacBook Pro.