Last active
June 22, 2022 18:00
-
-
Save ahmadshuami/d0dd021e6a5e2de23fd5575788d36179 to your computer and use it in GitHub Desktop.
How to Setup Apache, PHP 8.0, MariaDB and Apache Virtual Host using Homebrew Part 3 - Installation of MariaDB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Watch the video at https://youtu.be/uwvh3ojSin4 | |
1. Install MariaDB | |
% brew install mariadb | |
2. Start the MariaDB server | |
% brew services start mariadb | |
3. Change password | |
% sudo /usr/local/bin/mysql_secure_installation OR % sudo mysql_secure_installation | |
4. Install TablePlus, Sequel Pro or DBeaver | |
*** | |
If you have ERROR 1698 (28000): Access denied for user 'root'@'localhost' | |
% sudo mysql -u root | |
Password: your pc password | |
# mysql > ALTER USER 'user'@'localhost' IDENTIFIED BY 'new_password'; | |
—leave empty for password if you want empty password |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment