View Full Version : Database error
DeejayKez
04-14-2016, 01:39 PM
I got the following email message:
Database error in vBulletin :
mysqli_real_connect(): (HY000/2002): No such file or directory
/home/transliv/public_html/includes/class_core.php on line 1359
The attached image shows line 1359.
Can anyone help?
squidsk
04-14-2016, 01:41 PM
Likely a problem with your db settings in config.php.
DeejayKez
04-14-2016, 01:52 PM
I had a look in config.php and the database name seems wrong. It should be the same as the server name I ftp into shouldn't it?
squidsk
04-14-2016, 03:55 PM
No the database name is whatever the database is named in the mysql database that you're using.
EDIT: Assuming your database is on the same server as your forum the server name to access the db will either be localhost or 127.0.0.1.
DeejayKez
04-14-2016, 04:24 PM
Hmm, I don't really understand where the problem is then.
It appears the error occured when someone was writing a post, so my guess is it's to do with autosave
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.