Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 Need to help someone with MySQL
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Aged Yak Warrior

United Kingdom
529 Posts

Posted - 08/12/2013 :  06:55:06  Show Profile  Reply with Quote
I have a server running vbulletin and it had a power outage this morning, I now have a situation where the server is reporting the following:

Database error in vBulletin 3.8.2:

Invalid SQL:

(userid, ipaddress, personal,
searchuser, forumchoice,
sortby, sortorder, searchtime,
showposts, orderedids, dateline,
displayterms, searchhash, completed)
(4, '', 1,
'rf860', '',
'post.dateline', 'DESC', 0.23376,
1, (Removed some code here to be able to post this)

Edited by - mikebird on 08/12/2013 07:35:28

Flowing Fount of Yak Knowledge

2242 Posts

Posted - 08/12/2013 :  07:04:02  Show Profile  Reply with Quote
MySQL Error : Duplicate entry '21080356' for key 'PRIMARY'
here Error message is self exploratory....
You are trying to insert 21080356 to primary key column which is already exist in the table...
In your code we haven't seen 21080356 value... I think some where else that error caused...

Note: Any way this is SQL Server forum. So you can get quick response by posting in the relevant form like

Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000