문제

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

도움이 되었습니까?

해결책

my problem was that I configured phpmyadmin for a tcp connection, but mysql uses Unix sockets by default.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top