0
I have this problem with phpmyadmin, it was working normal, but when I typed: "mysql" in the linux shell it did not open mysql, only when typing: mysql -h 127.0.0.1 -P 3306 -u root.
Then I saw some articles and modified or deleted something from there giving this error:
#2002 - Arquivo ou diretório não encontrado —
The server is not responding (or the local server's socket is not correctly configured).
mysqli_real_connect(): (HY000/2002): Arquivo ou diretório não encontrado
Connection for controluser as defined in your configuration failed.
Note: I only installed the xampp, then already came with mysql included, I’ve had this problem a made in Ubuntu do not remember how I solved, I’m using manjaro.
You didn’t install one on top of another ? I had this problem in Ubuntu, but I had installed two different versions unintentionally and one bugged the other
– AnthraxisBR
Hello, all good @Anthraxisbr? I don’t remember if I had installed mysql via manjaro, via Pacman. I’ll check this out, I had this problem also when using Ubuntu and it was almost that. Thank you so much for the tip.
– Henrique Nascimento