DB Error:

Error(s) found: 4

[+] Unable to connect to the database in method makeConnection(). - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2).
[+] Unable to select database in method makeConnection(). - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2).
[+] Unable to perform the query: SELECT * FROM posts WHERE p_category="adm_ambientes" AND p_outdate > 1722085751 in method query(). - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2).
[+] Invalid "Resource id #" specified in method fetchNumRows(). - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2).