MyBB Community Forums

Full Version: SQL Error - 2013 Lost connection to server.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm trying to install another forum to test stuff on, but on installing it I'm getting this error.
MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
2013 - Lost connection to MySQL server during query
Query:
INSERT INTO mybb_templates (`title`,`template`,`sid`,`version`,`dateline`) VALUES ('modcp_modlogs_result','\n{$logitem[\'profilelink\']}\n{$log_date}, {$log_time}\n{$logitem[\'action\']}\n{$information}\n{$logitem[\'ipaddress\']}\n','-2','1400','1253897037')

Thanks Smile

Edit: Tried deleting databases and starting again and got this this time:
MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
2013 - Lost connection to MySQL server during query
Query:
INSERT INTO mybb_templates (`title`,`template`,`sid`,`version`,`dateline`) VALUES ('managegroup','\n\n\n{$headerinclude}\n\n\n{$header}\n{$joinrequests}\n
{$usergrouptype}

\n\npost_code}\" />\n\n\n\n\n\n\n\n\n\n\n\n\n\n{$users}\n
{$lang->members_of}
{$lang->user_name}	{$lang->contact}	{$lang->reg_date}	{$lang->post_count}	 
\n
\n
{$remove_users}
\n\n{$add_user}\n\n{$footer}\n\n','-2','1400','1253897501')
Modify your database settings in /inc/config.php/
You need to ask your host about that, it's losing connection, not that it can't connect to begin with, so it's a host issue.