Suddenly (maybe after a restart or installing a php extension) my phpmyadmin started to give me this error mysqli::real_connect(): (HY000/2002): No such file or directory
and also it's not posible for any app to connect to the database.
It's posible to fix that by changing the databse host to 127.0.0.1 instead of localhost however my etc/host is already configered to point localhost to 127.0.0.1
I'm using the following
CentOS 8.2.2004(Py3.7.8)
aaPanel 6.8.4
Mariadb 10.4.12
PHP 7.3
OLS 1.6.15
Memcached 1.5.22