I installed MariaDB on macOS High Sierra via Homebrew and I try to make it run with native Apache and PHP from the system.
I can start the mysql server correctly with the command:
mysql.server start
But when I try to access the database on Adminer or Phpmyadmin with the host 'localhost' I have the following error
No such file or directory
However if I try to connect by replacing 'localhost' with '127.0.0.1' it works and I can access the database.
Does anyone know how to make access work with 'localhost' ? I saw that it was a socket problem (mysql.sock) but impossible to solve it.
If anyone can help me I would be grateful !
Thanks !