vbulletin mysqli_real_connect(): (HY000/2002): No such file or directory
Please help with class_core.php Error - vBulletin ...line 1359 ... line 1351
mysqli_real_connect(): (HY000/2002): No such file or directory
/home/transliv/public_html/includes/class_core.php on line 1359

#################################################
:
#################################################



I get the following error usually on a daily basis. Sometimes several times a day. It'a always the same error. Not always the same thread but also the same error and line 1359. Any suggestions on what might be causing it?

:

In your config file, for the server address, change 'localhost' to '127.0.0.1'

#################################################
:
#################################################



I get the following error usually on a daily basis. Sometimes several times a day. It'a always the same error. Not always the same thread but also the same error and line 1351. Any suggestions on what might be causing it?

:

vBullletin 4.2.5 is not compatible with PHP 7.2 unless something has recently changed.
Ask your host to downgrade your PHP version to 7.1



After four weeks of trying to figure what was going on and the others were right this was definately a server problem with our host which they finally admitted MySQL is being restarted during cpanel updates and DB queries made during this time fail.



:

mysqli_real_connect(): (HY000/2002): No such file or directory
public_html/includes/class_core.php on line 1351

Script : css.php?styleid=261&langid=1&d=1507982312&td=ltr&s heet=bbcode.css,editor.css,popupmenu.css ,reset-fonts.css,vbulletin.css,vbulletin-chrome.css,vbulletin-formcontrols.css,
Classname : vB_Database_MySQLi
MySQL Version :

Stack Trace:

#0 vB_Database->halt() called in [path]/includes/class_core.php on line 5948
#1 catch_db_error() called in on line
#2 mysqli_real_connect() called in [path]/includes/class_core.php on line 1351
#3 vB_Database_MySQLi->db_connect() called in [path]/includes/class_core.php on line 280
#4 vB_Database->connect() called in [path]/includes/init.php on line 212
#5 require_once([path]/includes/init.php) called in [path]/includes/class_bootstrap.php on line 101
#6 vB_Bootstrap->init() called in [path]/includes/class_bootstrap.php on line 72
#7 vB_Bootstrap->bootstrap() called in [path]/global.php on line 26
#8 require_once([path]/global.php) called in [path]/css.php on line 72
:
, .

:
https://forum.vbulletin.com/forum/vb...or?view=stream
https://forum.vbulletin.com/forum/vb...core-php-error
https://forum.vbulletin.com/forum/vb...hp-error/page2
https://www.vbulletin.org/forum/showthread.php?t=322362