MyBB Community Forums

Full Version: Error 2002 - No such file or directory
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
We're getting this error message:
MyBB has experienced an internal SQL error and cannot continue.
SQL Error:2002 - No such file or directory
Query:[READ] Unable to connect to MySQL server

What do I need to do?
Docs Wrote:MySQL Error 2002
Database: MySQL

SQL Error: 2002 - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'

Query: [READ] Unable to connect to MySQL server

Information: This occurs when your MySQL server is down or experiencing an issue and MyBB cannot connect to it. You will have to contact your host with this error message.
(09-13-2015, 05:44 AM)mmadhankumar Wrote: [ -> ][quote='Docs']

SQL Error: 2002 - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'


I don't have that last part. The error number is the same, but then it says "No such file or directory." Is it the same problem?
(09-13-2015, 05:53 AM)fylliska Wrote: [ -> ]I don't have that last part. The error number is the same, but then it says "No such file or directory." Is it the same problem?

if you havent done any changes recently after which this happened then yes, its a server related problem... please contact your hosts...
Thank you!