Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 02 Nov 2019, 19:26
postcd postcd is offline
 
Join Date: Feb 2012
No such file or directory /includes/class_core.php on line 1356

Hello, in vbulletin 4.2.5 i have received an error via e-mail:

Database error in vBulletin :

mysqli_real_connect(): (HY000/2002): No such file or directory
/home/myusername/domains/mydomain.com/public_html/includes/class_core.php on line 1356

MySQL Error :
Error Number :
This file should be there in this vbulletin version? Why it is not there, i upgraded to 4.2.5 quite recently.. what should i try to do to fix this please?
Reply With Quote
  #2  
Old 02 Nov 2019, 19:42
Dave Dave is online now
 
Join Date: Jun 2010
Real name: Dave
When the database connection function returns the "No such file or directory" error, it's usually caused by the hostname in the /includes/config.php file.

If it's set to "localhost", try changing it to "127.0.0.1".
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 11:46.

Layout Options | Width: Wide Color: