Posts: 11
Threads: 5
Joined: Nov 2010
Reputation:
0
I switched hosts and uploaded my sql backup and my file directory backup. This is what I get! (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.)
Could someone plz tv me. Ill pay kudos
Posts: 1,778
Threads: 163
Joined: Jun 2007
Reputation:
218
Appears MySQL isn't running. Contact your host and if this is a dedicated server please make sure MySQL is started.
Also make sure the host is correctly listed in the inc/config.php file. It's probably "localhost" but if you're on a shared host they sometimes will specify a separate mysql server location which might be an IP or a hostname like mysql.domain.com.
I am here to rescue you.
This is Support Forums not Support PMs. Do not PM me for support unless it's private and site related.
Posts: 11
Threads: 5
Joined: Nov 2010
Reputation:
0
Man it still wont work. I have no idea whats up
Posts: 603
Threads: 27
Joined: Oct 2009
Reputation:
2
Since you've switched hosts i'd say there's a problem with your config.php file. Can you post it?
Posts: 105
Threads: 3
Joined: Oct 2009
Reputation:
0
12-11-2010, 10:00 PM
(This post was last modified: 12-11-2010, 10:01 PM by juan9087.)
It happens to me sometimes when i try to open hackforums.
Posts: 106
Threads: 2
Joined: Dec 2010
Reputation:
2
Make sure that Mysql has started and contact your host
Posts: 20
Threads: 1
Joined: Dec 2010
Reputation:
0
Make sure SQL is connected and configured to your host correctly.
Posts: 221
Threads: 15
Joined: Aug 2010
Reputation:
8
We can't tell if you did anything because it's dependent on your host's configuration. Config.php wouldn't have to be edited ever if all hosts were the same. So, contact your host definitely and ask them specifically if mySQL is installed and where it's located at. Ask if it's on localhost.