Installing phpMyAdmin for macOS
1. Open a new Terminal window
2. Enter the following command into the Terminal window and hit return
.
brew install phpmyadmin
3. Enter one of the following command into the Terminal window and hit return
.
NOTE
Homebrew stores files in different locations for Macs running Intel processor vs those using Apple Silicon. Please verify that you are using the correct command. Run only one of the following commands.
## Only use one of the following commands
# For Intel Macs
cd /usr/local/share/phpmyadmin
# For Apple Silicon Macs
cd /opt/homebrew/share/phpmyadmin
4. Enter the following command into the Terminal window and hit return
.
valet link phpmyadmin
5. Close the Terminal window
6. In the browser, go to http://phpmyadmin.test/
You should see a page similar to the following:
7. Use root
for the username and password.