MyBB Community Forums

Full Version: MySQLi error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I can't go anywhere, I get this error
Warning: mysqli_errno() expects parameter 1 to be mysqli, boolean given in /home/dudeness/public_html/forums/inc/db_mysqli.php on line 283
MySQLi error:
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Query:
What do I do?
Your database settings are either incorrect or your MySQL server is down.

Check with your web host to see if they're having any problems and if not you need to check the values in inc/config.php to see if they're correct.
Chris Boulton Wrote:Your database settings are either incorrect or your MySQL server is down.

Check with your web host to see if they're having any problems and if not you need to check the values in inc/config.php to see if they're correct.
It was the server, thanks for your help.