my problem was that I configured phpmyadmin for a tcp connection, but mysql uses Unix sockets by default.
PhpMyAdmin on Mavericks
-
05-07-2023 - |
Вопрос
I'm having a hard time trying to get PhpMyAdmin to work on Mavericks.
I have enabled PHP in apache by uncommenting the LoadModule directive in /etc/apache2/httpd.conf, I have downloaded and installed MySQL 5.6.17, I have changed the root password, I have downloaded and installed PhpMyAdmin 4.1.13, but when I try to login into phpmyadmin, I'm getting the error:
#2002 Cannot log in to the MySQL server
I can connect to mysql from the terminal without problem, but not from PhpMyAdmin.
Can anyone help me fix this? Thanks in advance
Решение
Не связан с StackOverflow