Mybb - Internal Error

Justin

Legendary Typer
Joined
Jul 2, 2009
Messages
13,882
Reaction score
1
FP$
106
MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
2002 - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Query:
[READ] Unable to connect to MySQL server

Please contact the MyBB Group for support.

My host just went down... could their mysql still be coming back online?

How do I fix this? 😛
 
Try opening phpMyAdmin in your cPanel.

Can you see anything there?
 
Check you config.php file in your /inc/ folder, are the correct MySQL details in there? If so go back to your database, create a new user and add it to your database and update your config file with the new users details. No need to change your database as it holds all the tables. (if your host hasn't somehow deleted it 😉)
 
If the error is that it can't even connect to MySQL then it is a host issue normally. If the error was about incorrect username or password and not being able to connect to the database itself then it is a error with the configuration file and the info in there.
 
Back
Top Bottom