OTHER ERROR: [2] mysqli_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
LINE: 245
FILE: /home/maxdv.ru/web/maxreg.pro/public_html/includes/classes/class.db.php

Cannot connect to MySQL server: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)OTHER ERROR: [2] mysqli_close() expects parameter 1 to be mysqli, null given
LINE: 47
FILE: /home/maxdv.ru/web/maxreg.pro/public_html/includes/classes/class.db.php