You can install MariaDB and MySQL on your MacBook Pro by following these steps:
- 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)"
- Install MariaDB: To install MariaDB, enter the following command in Terminal.
install mariadb
- Start the MariaDB server: After installation, start the MariaDB server with the following command.
services start mariadb
- Secure the MariaDB installation: To secure the installation, enter the following command.
_secure_installation
- Install MySQL: To install MySQL, enter the following command in Terminal.
install mysql
- Start the MySQL server: After installation, start the MySQL server with the following command.
services start mysql
- 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.