Mybb SQL ERROR - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Webmaster Support (https://www.supportforums.net/forumdisplay.php?fid=36) +---- Forum: Forum Software Help (https://www.supportforums.net/forumdisplay.php?fid=49) +---- Thread: Mybb SQL ERROR (/showthread.php?tid=14288) |
Mybb SQL ERROR - schneweis - 12-08-2010 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 RE: Mybb SQL ERROR - Omniscient - 12-08-2010 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. RE: Mybb SQL ERROR - schneweis - 12-08-2010 Man it still wont work. I have no idea whats up RE: Mybb SQL ERROR - MarkW7 - 12-10-2010 Since you've switched hosts i'd say there's a problem with your config.php file. Can you post it? RE: Mybb SQL ERROR - juan9087 - 12-11-2010 It happens to me sometimes when i try to open hackforums. RE: Mybb SQL ERROR - 0ld_F4T_N!gg4™ - 12-12-2010 Make sure that Mysql has started and contact your host RE: Mybb SQL ERROR - Flamingo - 12-12-2010 Make sure SQL is connected and configured to your host correctly. RE: Mybb SQL ERROR - schneweis - 12-19-2010 (12-10-2010, 05:51 PM)MarkW7 Wrote: Since you've switched hosts i'd say there's a problem with your config.php file. Can you post it? Darn. I forget all about my post. To update you guys I still have not figured it out yet. This is my config.php file. Idk If I did anything wrong. Also my root_sql is empty. no tables or nothing http://pastie.org/1390531 RE: Mybb SQL ERROR - Brandon - 12-20-2010 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. |