New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Comments
try to make IPv4 prefer
actually , I sorted it out after set up another server to compare , even checked with my previous centos7/almalinux8 setup
it was my stupid mistake , I placed a sandbox-like env for PHP process(es) , where it was working on centos , the path was
/var/lib/mysql/mysql.sockbut after I migrated to ubuntu , the PHP mysql default path changed to/var/run/mysqld/mysql.sockbut I did not update the sandbox setting accordinglyso "localhost" failed to find the path , that explains why if I use 127.0.0.1 works as it goes though TCP/IP , or
localhost:/run/mysqld/mysqld.sockto specify the socket path , whilelocalhoston ubuntu php it defaults to/var/run/mysqld/mysql.sockand failed to access to itthanks for all the help I have received , really appreciated
https://lowendtalk.com/discussion/comment/3561346/#Comment_3561346
Seems like IPv6 is there.
PHP log didnt say anything about failed connection?
I remember it only says failed to fetch some file, but didn't specify what path it tried, that's what took me so long to dig it out
damn wp. too much spoonfeeding us with conveniences and optimizations