Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

IanCallahan's avatar

Valet phpMyAdmin

Has anyone been successful in setting up phpMyAdmin with the Valet mariaDB configuration. I tried using a custom Valet driver with no luck. Thanks!

0 likes
8 replies
christopher's avatar

Not really since i dont use PHPmyadmin. You may give Sequal Pro a shot to handle your database stuff.

1 like
WesMurray's avatar
Level 1

Hi. Yes i have successfully installed phpmyadmin on Valet Version 1.1.0 - i didnt install mariaDB - i downloaded MySQL seperately and phpMyAdmin ran without any fuss.

1 like
west.crosby's avatar

I got it to work.

  • Installed Valet, then installed mariadb via homebrew.
  • Note, after installing mariadb via homebrew, I also needed to run unset TMPDIR then mysql_install_db
  • Confirmed that installing fresh copies of Laravel inside my Valet park directory allows me to go to [directory name].dev from a web browser.
  • Confirmed that mariadb is set to auto-start by running brew services start mariadb
  • Confirmed that mariadb is running by typing mysql at a terminal window, then show variables like "%version%";
+-------------------------+----------------------------+
| Variable_name           | Value                      |
+-------------------------+----------------------------+
| innodb_version          | 5.6.29-76.2                |
| protocol_version        | 10                         |
| slave_type_conversions  |                            |
| version                 | 10.1.14-MariaDB            |
| version_comment         | Homebrew                   |
| version_compile_machine | x86_64                     |
| version_compile_os      | osx10.11                   |
| version_malloc_library  | system                     |
| version_ssl_library     | OpenSSL 1.0.2h  3 May 2016 |
| wsrep_patch_version     | wsrep_25.13                |
+-------------------------+----------------------------+
10 rows in set (0.34 sec)
  • Downloaded phpmyadmin via https://www.phpmyadmin.net/
  • Unzipped the file, moved the directory to my Valet park directory, and renamed the directory "phpMyAdmin"
  • Now, going to a web browser and typing http://phpmyadmin.dev works, however mariadb does not have a password by default. So from terminal, after typing mysql, at the mysql> prompt run SET PASSWORD FOR 'root'@'localhost' = PASSWORD('root'); to set username and password (or whatever you need it to be).
  • Confirmed password for mariadb has been set by running mysql -uroot -proot from a terminal prompt
  • Confirmed that logging into phpmyadmin.dev works.

This is what I've done so far. I'm going to wait until tomorrow before attempting to migrate haha!

7 likes
oraparicio's avatar

I installed and use valet with phpmyadmin and mariadb... I even updated php to php71 and everything was fine... BUT, since I upgraded valet to 2.0.0, my phpmyadmin stoped working... is somebody having the same issue???

ataufiq's avatar

my phpmyadmin.dev works but when I run it often logout itself so i must insert username and password again

toyjack's avatar

Or you can just install phpmyadmin from homebrew, and link it to valet.

  1. Install phpmyadmin
brew install phpmyadmin
  1. Goto the path of phpmyadmin
cd /usr/local/share/phpmyadmin
  1. Link it to valet
valet link

Then you can use phpmyadmin by accessing http://phpmyadmin.dev. That easy!

7 likes
Abhilash19's avatar

@toyjack Can I get my databases back? which I had in my phpmyadmin?. Actually I changed my macbook's user name. It asked for system restart, after restarting phpmyadmin not working. I don't know whether it's crome error or what. Please help me out.

This site can’t be reached

127.0.0.1 refused to connect.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED

Please or to participate in this conversation.