I’m using Magento 2.3.6-p1
In Cli commands everything works fine.
I can ran setup:upgrade, compilation, content:deploy, etc.
But, when I go to www.mystore.com I get the following:
2 exception(s):
Exception #0 (Zend_Db_Adapter_Exception): SQLSTATE(HY000) (2002) No such file or directory
Exception #1 (PDOException): SQLSTATE(HY000) (2002) No such file or directory
Exception #0 (Zend_Db_Adapter_Exception): SQLSTATE(HY000) (2002) No such file or directory
You can view the entire error log goingo to www.infotatil.pt
I tried everything I found in Google.
Changed host from “localhohst” to “127.0.0.1” in /app/etc/env.php, triple checked mysql credentials, tried to connect to mysql in commandline, everything works fine, but magento web front continue giving this error.
Server info:
cPanel WHm 94.08, mysql maria DB 10.3, php 7.3.27
Thank you for any help;