aaPanel_Jose
I forgot to write, another thing I edit in php7.4 is the session configuration. I change it from the default "files" to "redis". I don't know if that has any relationship with this problem though. I am just trying to recall whatever i change manually.
And now replying yo your confirmation,
And what i found is that 2 parameter is empty...
after filling the parameter with /tmp/mysql.sock
as the same with your image, the "localhost" parameter is now working in phpmyadmin and wordpress.
I don't know why that 2 parameter is empty in that vps. When I install another aaPanel just few hours ago in different vps, the "localhost" in phpmyadmin is working. The only difference is I install nginx in there, not openlitespeed. Everything else (installation and configuration) is the same.
Thank you for the help.