my site started acting up a few days ago, running the debug I get these lines.
Tried to mess around with the DB but couldn't get my head through it.
Do you have any idea what those lines imply?
Warning: mysqli_real_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory") in /home/u420302506/public_html/wp-includes/wp-db.php on line 1490
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/u420302506/public_html/wp-includes/wp-db.php on line 1520
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory") in /home/u420302506/public_html/wp-includes/wp-db.php on line 1520
Line 1490:
mysqli_real_connect( $this->dbh, $host, $this->dbuser, $this->dbpassword, null, $port, $socket, $client_flags );
Line 1520:
this->dbh = mysql_connect( $this->dbhost, $this->dbuser, $this->dbpassword, $new_link, $client_flags );